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.001157/0.001157, 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.001264/0.001264, 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.331/1.331, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7034/0.7034, allocations: 115.3 MB / 405.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 55.09 kB / 493 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1283, allocations: 76.19 MB / 0.5558 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004576/0.1329, allocations: 3.336 MB / 0.5591 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001069/0.133, allocations: 51.86 kB / 0.5592 GB, free: 7.328 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.375e-05/0.1331, allocations: 0 / 0.5592 GB, free: 7.328 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.26e-05/0.1331, allocations: 3.938 kB / 0.5592 GB, free: 7.324 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.616e-05/0.1332, allocations: 15.91 kB / 0.5592 GB, free: 7.309 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004961/0.1337, allocations: 168.7 kB / 0.5593 GB, free: 7.148 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.596e-05/0.1338, allocations: 59.81 kB / 0.5594 GB, free: 7.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.166e-05/0.1339, allocations: 7.984 kB / 0.5594 GB, free: 7.082 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.534e-05/0.1339, allocations: 11.94 kB / 0.5594 GB, free: 7.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.409e-05/0.134, allocations: 23.91 kB / 0.5594 GB, free: 7.047 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.134, allocations: 0 / 0.5594 GB, free: 7.047 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003599/0.1344, allocations: 167.6 kB / 0.5596 GB, free: 6.883 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.1344, allocations: 7.984 kB / 0.5596 GB, free: 6.875 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.963e-05/0.1344, allocations: 11.92 kB / 0.5596 GB, free: 6.863 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.1347, allocations: 143.9 kB / 0.5597 GB, free: 6.723 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1348, allocations: 0 / 0.5597 GB, free: 6.723 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1348, allocations: 0 / 0.5597 GB, free: 6.723 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.1348, allocations: 0 / 0.5597 GB, free: 6.723 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.0003911/0.1352, allocations: 343.5 kB / 0.5601 GB, free: 6.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1352, allocations: 8.031 kB / 0.5601 GB, free: 6.332 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.02e-05/0.1353, allocations: 30.75 kB / 0.5601 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.1353, allocations: 12.84 kB / 0.5601 GB, free: 6.281 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.1354, allocations: 164.4 kB / 0.5603 GB, free: 6.082 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.69e-05/0.1355, allocations: 30.2 kB / 0.5603 GB, free: 6.047 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.1355, allocations: 8.125 kB / 0.5603 GB, free: 6.039 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.1356, allocations: 45.69 kB / 0.5604 GB, free: 5.988 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.1356, allocations: 0 / 0.5604 GB, free: 5.988 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.1357, allocations: 0 / 0.5604 GB, free: 5.988 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.1357, allocations: 4 kB / 0.5604 GB, free: 5.984 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.761e-05/0.1357, allocations: 15.98 kB / 0.5604 GB, free: 5.969 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006279/0.1364, allocations: 0.5833 MB / 0.5609 GB, free: 5.262 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.975e-05/0.1364, allocations: 26.52 kB / 0.561 GB, free: 5.227 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.404e-05/0.1365, allocations: 4.859 kB / 0.561 GB, free: 5.219 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002474/0.1367, allocations: 344.5 kB / 0.5613 GB, free: 4.809 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.1367, allocations: 34.56 kB / 0.5613 GB, free: 4.766 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.1367, allocations: 4 kB / 0.5613 GB, free: 4.762 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001344/0.1369, allocations: 29.7 kB / 0.5614 GB, free: 4.727 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.1369, allocations: 59.34 kB / 0.5614 GB, free: 4.656 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.77e-05/0.137, allocations: 113.7 kB / 0.5615 GB, free: 4.535 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.1371, allocations: 25.7 kB / 0.5616 GB, free: 4.504 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.357e-05/0.1371, allocations: 88.05 kB / 0.5616 GB, free: 4.414 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.1371, allocations: 7.906 kB / 0.5617 GB, free: 4.406 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.1372, allocations: 13.84 kB / 0.5617 GB, free: 4.387 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1373, allocations: 326.8 kB / 0.562 GB, free: 4.059 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.1373, allocations: 0 / 0.562 GB, free: 4.059 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.233e-05/0.1373, allocations: 13.72 kB / 0.562 GB, free: 4.039 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.633e-05/0.1374, allocations: 25.7 kB / 0.562 GB, free: 4.008 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1374, allocations: 0 / 0.562 GB, free: 4.008 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.97e-05/0.1375, allocations: 49.64 kB / 0.5621 GB, free: 3.953 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1375, allocations: 8 kB / 0.5621 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1375, allocations: 3.984 kB / 0.5621 GB, free: 3.941 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.1375, allocations: 0 / 0.5621 GB, free: 3.941 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.495e-05/0.1376, allocations: 4 kB / 0.5621 GB, free: 3.938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1376, allocations: 0 / 0.5621 GB, free: 3.938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.951e-05/0.1376, allocations: 7.938 kB / 0.5621 GB, free: 3.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.1376, allocations: 0 / 0.5621 GB, free: 3.93 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.666e-05/0.1377, allocations: 117.7 kB / 0.5622 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.1378, allocations: 4.062 kB / 0.5622 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.1379, allocations: 126.8 kB / 0.5623 GB, free: 3.672 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.953e-05/0.1379, allocations: 176.3 kB / 0.5625 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.807e-05/0.138, allocations: 180.2 kB / 0.5627 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.663e-05/0.138, allocations: 180.3 kB / 0.5628 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.1383, allocations: 413.1 kB / 0.5632 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-05/0.1383, allocations: 109 kB / 0.5633 GB, free: 2.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.1383, allocations: 101 kB / 0.5634 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.196e-05/0.1384, allocations: 180.2 kB / 0.5636 GB, free: 2.262 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.848e-05/0.1385, allocations: 176.3 kB / 0.5638 GB, free: 2.082 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.198e-05/0.1385, allocations: 188.2 kB / 0.5639 GB, free: 1.891 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-05/0.1386, allocations: 180.3 kB / 0.5641 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.1387, allocations: 311.9 kB / 0.5644 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.824e-05/0.1388, allocations: 186.1 kB / 0.5646 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.409e-05/0.1389, allocations: 188.2 kB / 0.5648 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.139, allocations: 109 kB / 0.5649 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/0.1391, allocations: 188.1 kB / 0.5651 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.1391, allocations: 101 kB / 0.5652 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.155e-05/0.1392, allocations: 87.27 kB / 0.5652 GB, free: 496 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1392, allocations: 0 / 0.5652 GB, free: 496 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.1395, allocations: 31.94 kB / 0.5653 GB, free: 464 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 (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.0005908/0.1401, allocations: 0.8789 MB / 0.5661 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.14e-05/0.1402, allocations: 4 kB / 0.5661 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1402, allocations: 0 / 0.5661 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/0.1402, allocations: 0 / 0.5661 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/0.1407, allocations: 0.5263 MB / 0.5666 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.1417, allocations: 1.334 MB / 0.5679 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.1419, allocations: 0.677 MB / 0.5686 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.448e-05/0.142, allocations: 4.844 kB / 0.5686 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.142, allocations: 11.44 kB / 0.5686 GB, free: 12.87 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.142, allocations: 4 kB / 0.5686 GB, free: 12.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01147/0.1535, allocations: 1.982 MB / 0.5706 GB, free: 11.07 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.1537, allocations: 268.7 kB / 0.5708 GB, free: 10.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/1.813, allocations: 0 / 0.5708 GB, free: 10.81 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)