Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 210.2 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.192/1.192, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6204/0.6204, allocations: 115.3 MB / 405.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 59.88 kB / 493 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1141, allocations: 76.19 MB / 0.5559 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002826/0.1169, allocations: 2.156 MB / 0.558 GB, free: 8.586 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.1184, allocations: 1.06 MB / 0.559 GB, free: 7.516 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.1186, allocations: 7.938 kB / 0.559 GB, free: 7.508 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.356e-05/0.1186, allocations: 11.86 kB / 0.559 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.1189, allocations: 71.41 kB / 0.5591 GB, free: 7.426 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.1193, allocations: 154.9 kB / 0.5592 GB, free: 7.277 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.1195, allocations: 274.8 kB / 0.5595 GB, free: 7.008 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.1197, allocations: 60.7 kB / 0.5596 GB, free: 6.949 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1198, allocations: 103.5 kB / 0.5596 GB, free: 6.848 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.12, allocations: 135.3 kB / 0.5598 GB, free: 6.715 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.12, allocations: 15.98 kB / 0.5598 GB, free: 6.699 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003456/0.1204, allocations: 287.6 kB / 0.5601 GB, free: 6.418 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.354e-05/0.1204, allocations: 31.84 kB / 0.5601 GB, free: 6.387 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.473e-05/0.1205, allocations: 123.3 kB / 0.5602 GB, free: 6.266 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.1208, allocations: 319.1 kB / 0.5605 GB, free: 5.953 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1208, allocations: 0 / 0.5605 GB, free: 5.953 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1208, allocations: 0 / 0.5605 GB, free: 5.953 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1208, allocations: 0 / 0.5605 GB, free: 5.953 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009906/0.1218, allocations: 0.6271 MB / 0.5611 GB, free: 5.277 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.1219, allocations: 12.03 kB / 0.5611 GB, free: 5.266 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.321e-05/0.1219, allocations: 46.73 kB / 0.5612 GB, free: 5.211 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.1221, allocations: 36.56 kB / 0.5612 GB, free: 5.176 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.1224, allocations: 279.5 kB / 0.5615 GB, free: 4.867 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.1224, allocations: 12.66 kB / 0.5615 GB, free: 4.855 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.1225, allocations: 20.31 kB / 0.5615 GB, free: 4.836 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004771/0.1229, allocations: 228.8 kB / 0.5617 GB, free: 4.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.123, allocations: 7.922 kB / 0.5617 GB, free: 4.582 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.123, allocations: 12 kB / 0.5618 GB, free: 4.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.123, allocations: 4 kB / 0.5618 GB, free: 4.566 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005925/0.1236, allocations: 191.8 kB / 0.5619 GB, free: 4.379 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.1246, allocations: 0.9462 MB / 0.5629 GB, free: 3.363 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007062/0.1253, allocations: 237.2 kB / 0.5631 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/0.1257, allocations: 117.5 kB / 0.5632 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1257, allocations: 320 / 0.5632 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.1257, allocations: 42.56 kB / 0.5632 GB, free: 2.941 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.032e-06/0.1257, allocations: 0 / 0.5632 GB, free: 2.941 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001015/0.1267, allocations: 333.1 kB / 0.5636 GB, free: 2.609 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.1268, allocations: 85.09 kB / 0.5636 GB, free: 2.508 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.127, allocations: 266.9 kB / 0.5639 GB, free: 2.242 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.127, allocations: 33.7 kB / 0.5639 GB, free: 2.203 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.851e-05/0.1271, allocations: 160.2 kB / 0.5641 GB, free: 2.043 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.1272, allocations: 59.19 kB / 0.5641 GB, free: 1.984 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-05/0.1273, allocations: 37.7 kB / 0.5642 GB, free: 1.941 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1274, allocations: 338.8 kB / 0.5645 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/0.1276, allocations: 83.92 kB / 0.5646 GB, free: 1.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/0.128, allocations: 145.8 kB / 0.5647 GB, free: 1.355 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005666/0.1285, allocations: 238.4 kB / 0.5649 GB, free: 1.102 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1285, allocations: 0 / 0.5649 GB, free: 1.102 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007305/0.1293, allocations: 301 kB / 0.5652 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1293, allocations: 4 kB / 0.5652 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1293, allocations: 4.094 kB / 0.5652 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.1293, allocations: 3.938 kB / 0.5652 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.1296, allocations: 59.89 kB / 0.5653 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1296, allocations: 12.05 kB / 0.5653 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.1298, allocations: 43.84 kB / 0.5654 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.1299, allocations: 8 kB / 0.5654 GB, free: 0.668 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.676e-05/0.13, allocations: 129.8 kB / 0.5655 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.1301, allocations: 27.66 kB / 0.5655 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007063/0.1308, allocations: 291.1 kB / 0.5658 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1308, allocations: 4 kB / 0.5658 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1308, allocations: 0 / 0.5658 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1308, allocations: 7.984 kB / 0.5658 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003247/0.1312, allocations: 297.3 kB / 0.5661 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1312, allocations: 4 kB / 0.5661 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.1314, allocations: 51.95 kB / 0.5661 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1315, allocations: 0 / 0.5661 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.1315, allocations: 8 kB / 0.5661 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1315, allocations: 3.938 kB / 0.5662 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1315, allocations: 3.938 kB / 0.5662 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007196/0.1322, allocations: 444.7 kB / 0.5666 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.1323, allocations: 100.7 kB / 0.5667 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.1323, allocations: 4 kB / 0.5667 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.1326, allocations: 35.95 kB / 0.5667 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.1326, allocations: 15.98 kB / 0.5667 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.1326, allocations: 7.984 kB / 0.5667 GB, free: 15.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001839/0.1328, allocations: 189.9 kB / 0.5669 GB, free: 14.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1328, allocations: 0 / 0.5669 GB, free: 14.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003178/0.1332, allocations: 56.11 kB / 0.567 GB, free: 14.92 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001087/0.1343, allocations: 0.9926 MB / 0.5679 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006428/0.1349, allocations: 223.7 kB / 0.5682 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1349, allocations: 320 / 0.5682 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003107/0.1352, allocations: 115.9 kB / 0.5683 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005027/0.1357, allocations: 73.33 kB / 0.5683 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/0.1392, allocations: 2.777 MB / 0.571 GB, free: 10.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.1395, allocations: 0.7521 MB / 0.5718 GB, free: 9.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.1397, allocations: 34.22 kB / 0.5718 GB, free: 9.789 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.1398, allocations: 83.41 kB / 0.5719 GB, free: 9.707 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1398, allocations: 0 / 0.5719 GB, free: 9.707 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2355/0.3752, allocations: 5.982 MB / 0.5777 GB, free: 3.914 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002854/0.3756, allocations: 213.4 kB / 0.5779 GB, free: 3.656 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/2.099, allocations: 0 / 0.5779 GB, free: 3.656 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)