Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.0009722/0.0009723, allocations: 93.73 kB / 16.02 MB, free: 84 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.001248/0.001248, allocations: 185.4 kB / 16.92 MB, free: 6.891 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.371/1.371, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7321/0.7321, allocations: 115.5 MB / 407.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002999/0.0002999, allocations: 8.75 kB / 495.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1273, allocations: 77.55 MB / 0.56 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00328/0.1306, allocations: 2.97 MB / 0.5629 GB, free: 5.969 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 7.758e-05/0.1307, allocations: 47.88 kB / 0.563 GB, free: 5.922 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.281e-05/0.1307, allocations: 7.938 kB / 0.563 GB, free: 5.914 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.467e-05/0.1308, allocations: 3.984 kB / 0.563 GB, free: 5.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.983e-05/0.1309, allocations: 15.92 kB / 0.563 GB, free: 5.895 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.1313, allocations: 170.6 kB / 0.5632 GB, free: 5.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.89e-05/0.1314, allocations: 55.88 kB / 0.5632 GB, free: 5.676 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.715e-05/0.1314, allocations: 4 kB / 0.5632 GB, free: 5.672 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.455e-05/0.1314, allocations: 19.92 kB / 0.5633 GB, free: 5.652 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.575e-05/0.1315, allocations: 15.92 kB / 0.5633 GB, free: 5.637 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.307e-06/0.1315, allocations: 0 / 0.5633 GB, free: 5.637 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00028/0.1318, allocations: 163.6 kB / 0.5634 GB, free: 5.477 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.1318, allocations: 7.984 kB / 0.5634 GB, free: 5.469 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.1319, allocations: 41.62 kB / 0.5635 GB, free: 5.422 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.1321, allocations: 135.9 kB / 0.5636 GB, free: 5.289 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1321, allocations: 4 kB / 0.5636 GB, free: 5.285 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1321, allocations: 7.984 kB / 0.5636 GB, free: 5.277 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.297e-06/0.1321, allocations: 0 / 0.5636 GB, free: 5.277 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000298/0.1324, allocations: 343.5 kB / 0.5639 GB, free: 4.895 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1325, allocations: 8.031 kB / 0.564 GB, free: 4.887 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.317e-05/0.1325, allocations: 30.75 kB / 0.564 GB, free: 4.848 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.534e-05/0.1325, allocations: 8.844 kB / 0.564 GB, free: 4.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.1327, allocations: 164.3 kB / 0.5641 GB, free: 4.641 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.717e-05/0.1327, allocations: 26.27 kB / 0.5642 GB, free: 4.609 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.1327, allocations: 8.125 kB / 0.5642 GB, free: 4.602 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.1329, allocations: 45.69 kB / 0.5642 GB, free: 4.551 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.1329, allocations: 0 / 0.5642 GB, free: 4.551 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1329, allocations: 0 / 0.5642 GB, free: 4.551 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.1329, allocations: 7.969 kB / 0.5642 GB, free: 4.543 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.782e-05/0.133, allocations: 12 kB / 0.5642 GB, free: 4.531 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006175/0.1336, allocations: 0.5794 MB / 0.5648 GB, free: 3.828 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.322e-05/0.1336, allocations: 26.52 kB / 0.5648 GB, free: 3.793 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.293e-05/0.1336, allocations: 8.844 kB / 0.5648 GB, free: 3.781 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002507/0.1339, allocations: 344.5 kB / 0.5652 GB, free: 3.371 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.1339, allocations: 34.56 kB / 0.5652 GB, free: 3.328 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1339, allocations: 0 / 0.5652 GB, free: 3.328 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001156/0.1341, allocations: 29.7 kB / 0.5652 GB, free: 3.293 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.537e-05/0.1342, allocations: 55.34 kB / 0.5653 GB, free: 3.227 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.652e-05/0.1342, allocations: 113.9 kB / 0.5654 GB, free: 3.105 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.1342, allocations: 25.7 kB / 0.5654 GB, free: 3.074 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.1344, allocations: 88.05 kB / 0.5655 GB, free: 2.984 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.51e-06/0.1344, allocations: 3.906 kB / 0.5655 GB, free: 2.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/0.1344, allocations: 17.7 kB / 0.5655 GB, free: 2.957 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.1345, allocations: 314.8 kB / 0.5658 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.1345, allocations: 4 kB / 0.5658 GB, free: 2.637 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/0.1346, allocations: 17.72 kB / 0.5658 GB, free: 2.613 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.045e-05/0.1346, allocations: 25.7 kB / 0.5659 GB, free: 2.582 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1346, allocations: 0 / 0.5659 GB, free: 2.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.195e-05/0.1347, allocations: 53.62 kB / 0.5659 GB, free: 2.523 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.1347, allocations: 4 kB / 0.5659 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-06/0.1347, allocations: 0 / 0.5659 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.1347, allocations: 0 / 0.5659 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.706e-05/0.1348, allocations: 4 kB / 0.5659 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1348, allocations: 8.062 kB / 0.5659 GB, free: 2.508 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.985e-05/0.1348, allocations: 3.938 kB / 0.5659 GB, free: 2.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.1348, allocations: 0 / 0.5659 GB, free: 2.504 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 6.483e-05/0.1349, allocations: 121.7 kB / 0.5661 GB, free: 2.375 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.1349, allocations: 0 / 0.5661 GB, free: 2.375 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.153e-05/0.135, allocations: 117 kB / 0.5662 GB, free: 2.254 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.184e-05/0.1351, allocations: 188.2 kB / 0.5663 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.892e-05/0.1351, allocations: 180.2 kB / 0.5665 GB, free: 1.879 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.995e-05/0.1352, allocations: 184.2 kB / 0.5667 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.1354, allocations: 409.1 kB / 0.5671 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-05/0.1354, allocations: 109 kB / 0.5672 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/0.1355, allocations: 104.9 kB / 0.5673 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.893e-05/0.1355, allocations: 180.3 kB / 0.5675 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-05/0.1356, allocations: 176.3 kB / 0.5676 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.074e-05/0.1356, allocations: 184.2 kB / 0.5678 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.693e-05/0.1357, allocations: 180.4 kB / 0.568 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.1358, allocations: 319.6 kB / 0.5683 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.136, allocations: 182.1 kB / 0.5685 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.076e-05/0.136, allocations: 188.2 kB / 0.5686 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.1362, allocations: 109 kB / 0.5687 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.1362, allocations: 184.2 kB / 0.5689 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.1363, allocations: 104.9 kB / 0.569 GB, free: 15.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.135e-05/0.1363, allocations: 91.28 kB / 0.5691 GB, free: 15.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1363, allocations: 0 / 0.5691 GB, free: 15.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.1366, allocations: 35.92 kB / 0.5691 GB, free: 15.01 MB / 446.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 (0): * Single equations (assignments): 0 * 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.000512/0.1371, allocations: 0.8597 MB / 0.57 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.497e-05/0.1372, allocations: 11.98 kB / 0.57 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1372, allocations: 4 kB / 0.57 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.1372, allocations: 0 / 0.57 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.1376, allocations: 0.5303 MB / 0.5705 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008542/0.1385, allocations: 1.334 MB / 0.5718 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.1387, allocations: 0.677 MB / 0.5725 GB, free: 11.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.056e-05/0.1387, allocations: 9.812 kB / 0.5725 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.1388, allocations: 11.44 kB / 0.5725 GB, free: 11.42 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1388, allocations: 3.938 kB / 0.5725 GB, free: 11.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.1587, allocations: 1.935 MB / 0.5744 GB, free: 9.703 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.159, allocations: 259.7 kB / 0.5746 GB, free: 9.441 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/1.908, allocations: 1.25 kB / 0.5746 GB, free: 9.441 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)