Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.0007152/0.0007152, allocations: 92.86 kB / 15.7 MB, free: 472 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.0007356/0.0007357, allocations: 170.2 kB / 16.58 MB, free: 6.051 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.194/1.194, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6109/0.6109, allocations: 113.7 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002675/0.0002677, allocations: 8.219 kB / 493.2 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1189, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00387/0.1228, allocations: 4.038 MB / 0.5608 GB, free: 7.609 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007804/0.1236, allocations: 0.7568 MB / 0.5616 GB, free: 6.848 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.635e-05/0.1236, allocations: 0 / 0.5616 GB, free: 6.848 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.1237, allocations: 35.83 kB / 0.5616 GB, free: 6.812 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.672e-05/0.1238, allocations: 27.77 kB / 0.5616 GB, free: 6.785 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.1241, allocations: 123.6 kB / 0.5618 GB, free: 6.664 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.1243, allocations: 163.4 kB / 0.5619 GB, free: 6.504 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.278e-05/0.1244, allocations: 13.12 kB / 0.5619 GB, free: 6.488 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.1245, allocations: 71.75 kB / 0.562 GB, free: 6.418 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.605e-05/0.1246, allocations: 67.73 kB / 0.5621 GB, free: 6.352 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.1246, allocations: 11.94 kB / 0.5621 GB, free: 6.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002401/0.1249, allocations: 119.8 kB / 0.5622 GB, free: 6.223 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.537e-05/0.1249, allocations: 27.91 kB / 0.5622 GB, free: 6.195 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.1249, allocations: 45.64 kB / 0.5623 GB, free: 6.145 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.1251, allocations: 159.9 kB / 0.5624 GB, free: 5.988 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1252, allocations: 0 / 0.5624 GB, free: 5.988 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1252, allocations: 0 / 0.5624 GB, free: 5.988 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1252, allocations: 4 kB / 0.5624 GB, free: 5.984 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006739/0.1259, allocations: 466.7 kB / 0.5629 GB, free: 5.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1259, allocations: 12.03 kB / 0.5629 GB, free: 5.469 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.21e-05/0.1259, allocations: 34.56 kB / 0.5629 GB, free: 5.426 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.126, allocations: 15.81 kB / 0.5629 GB, free: 5.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.1261, allocations: 179 kB / 0.5631 GB, free: 5.195 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.1261, allocations: 8 kB / 0.5631 GB, free: 5.188 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.1261, allocations: 19.94 kB / 0.5631 GB, free: 5.168 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.1264, allocations: 125.5 kB / 0.5632 GB, free: 5.039 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.1265, allocations: 0 / 0.5632 GB, free: 5.039 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1265, allocations: 4 kB / 0.5632 GB, free: 5.035 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.1265, allocations: 0 / 0.5632 GB, free: 5.035 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003685/0.1269, allocations: 167.9 kB / 0.5634 GB, free: 4.871 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008341/0.1277, allocations: 484.5 kB / 0.5639 GB, free: 4.348 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.128, allocations: 130.5 kB / 0.564 GB, free: 4.211 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.1281, allocations: 84.81 kB / 0.5641 GB, free: 4.125 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/0.1293, allocations: 0.9644 MB / 0.565 GB, free: 3.023 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.1293, allocations: 30.56 kB / 0.565 GB, free: 2.984 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.1293, allocations: 0 / 0.565 GB, free: 2.984 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.000587/0.1299, allocations: 245.3 kB / 0.5653 GB, free: 2.738 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.1299, allocations: 55.41 kB / 0.5653 GB, free: 2.672 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.1301, allocations: 165.5 kB / 0.5655 GB, free: 2.504 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1301, allocations: 29.7 kB / 0.5655 GB, free: 2.469 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/0.1302, allocations: 104.4 kB / 0.5656 GB, free: 2.363 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.1302, allocations: 43.44 kB / 0.5657 GB, free: 2.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/0.1302, allocations: 4 kB / 0.5657 GB, free: 2.316 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.1303, allocations: 326.8 kB / 0.566 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.1305, allocations: 83.94 kB / 0.5661 GB, free: 1.906 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.1307, allocations: 127.2 kB / 0.5662 GB, free: 1.773 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.1309, allocations: 92.97 kB / 0.5663 GB, free: 1.684 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1309, allocations: 0 / 0.5663 GB, free: 1.684 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004814/0.1314, allocations: 267 kB / 0.5665 GB, free: 1.418 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1315, allocations: 15.94 kB / 0.5665 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1315, allocations: 0 / 0.5665 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1315, allocations: 4 kB / 0.5665 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.1317, allocations: 63.94 kB / 0.5666 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1318, allocations: 0 / 0.5666 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.1319, allocations: 39.7 kB / 0.5666 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.1319, allocations: 15.98 kB / 0.5666 GB, free: 1.281 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.493e-05/0.132, allocations: 117.8 kB / 0.5668 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.1321, allocations: 15.81 kB / 0.5668 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004141/0.1325, allocations: 204.2 kB / 0.567 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1325, allocations: 0 / 0.567 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.1325, allocations: 0 / 0.567 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1325, allocations: 0 / 0.567 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.1327, allocations: 213.5 kB / 0.5672 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1327, allocations: 0 / 0.5672 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.1328, allocations: 31.97 kB / 0.5672 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.1329, allocations: 8 kB / 0.5672 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.1329, allocations: 4 kB / 0.5672 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1329, allocations: 3.953 kB / 0.5672 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1329, allocations: 3.938 kB / 0.5672 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000383/0.1333, allocations: 279.2 kB / 0.5675 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.1333, allocations: 96.91 kB / 0.5676 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.1334, allocations: 8 kB / 0.5676 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.1335, allocations: 19.98 kB / 0.5676 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.1335, allocations: 11.94 kB / 0.5676 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.403e-06/0.1336, allocations: 4 kB / 0.5676 GB, free: 188 kB / 430.1 MB Notification: Performance of sorting global known variables: time 6.939e-05/0.1336, allocations: 117.8 kB / 0.5677 GB, free: 72 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1336, allocations: 0 / 0.5677 GB, free: 72 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002948/0.1339, allocations: 64.3 kB / 0.5678 GB, free: 8 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007435/0.1347, allocations: 0.8699 MB / 0.5686 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004217/0.1351, allocations: 187.8 kB / 0.5688 GB, free: 14.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1351, allocations: 4.125 kB / 0.5688 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.1353, allocations: 83.72 kB / 0.5689 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.1356, allocations: 27.88 kB / 0.5689 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.1372, allocations: 1.019 MB / 0.5699 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.1374, allocations: 0.7087 MB / 0.5706 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.598e-05/0.1375, allocations: 13.2 kB / 0.5706 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.925e-05/0.1376, allocations: 39.36 kB / 0.5707 GB, free: 12.96 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1376, allocations: 0 / 0.5707 GB, free: 12.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01338/0.1509, allocations: 4.002 MB / 0.5746 GB, free: 9.148 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/0.1512, allocations: 198.7 kB / 0.5748 GB, free: 8.914 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/1.679, allocations: 0 / 0.5748 GB, free: 8.914 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) Environment - environmentSimulation: