Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.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.WaterProperties_pT,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",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.0006771/0.0006771, allocations: 88.17 kB / 15.7 MB, free: 460 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.000718/0.000718, allocations: 177.2 kB / 16.58 MB, free: 6.852 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.195/1.195, allocations: 223.3 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5999/0.5999, allocations: 113.7 MB / 405.5 MB, free: 4.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002822, allocations: 12 kB / 493.1 MB, free: 8.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1173, allocations: 77.11 MB / 0.5569 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01196/0.1293, allocations: 12.01 MB / 0.5686 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.1314, allocations: 2.459 MB / 0.571 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.064e-05/0.1315, allocations: 0 / 0.571 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.1317, allocations: 35.81 kB / 0.5711 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.1319, allocations: 83.48 kB / 0.5711 GB, free: 13.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007614/0.1327, allocations: 418.6 kB / 0.5715 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.1329, allocations: 263.9 kB / 0.5718 GB, free: 12.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.133, allocations: 9.562 kB / 0.5718 GB, free: 12.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007192/0.1402, allocations: 4.364 MB / 0.5761 GB, free: 8.043 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.1403, allocations: 91.64 kB / 0.5761 GB, free: 7.953 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.1403, allocations: 8 kB / 0.5761 GB, free: 7.945 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.1423, allocations: 0.9415 MB / 0.5771 GB, free: 7.012 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.1423, allocations: 35.89 kB / 0.5771 GB, free: 6.977 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.1424, allocations: 57.58 kB / 0.5772 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.1427, allocations: 231.4 kB / 0.5774 GB, free: 6.688 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1427, allocations: 0 / 0.5774 GB, free: 6.688 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1427, allocations: 4 kB / 0.5774 GB, free: 6.684 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1427, allocations: 0 / 0.5774 GB, free: 6.684 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005597/0.1433, allocations: 467.2 kB / 0.5778 GB, free: 6.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.1433, allocations: 8.031 kB / 0.5778 GB, free: 6.172 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.599e-05/0.1434, allocations: 50.55 kB / 0.5779 GB, free: 6.113 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.1435, allocations: 23.8 kB / 0.5779 GB, free: 6.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.1437, allocations: 226.7 kB / 0.5781 GB, free: 5.828 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1437, allocations: 12.33 kB / 0.5781 GB, free: 5.816 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.1437, allocations: 15.94 kB / 0.5781 GB, free: 5.801 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.1441, allocations: 244.8 kB / 0.5784 GB, free: 5.543 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1441, allocations: 0 / 0.5784 GB, free: 5.543 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.1441, allocations: 12 kB / 0.5784 GB, free: 5.531 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/0.1441, allocations: 7.984 kB / 0.5784 GB, free: 5.523 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004123/0.1446, allocations: 431.3 kB / 0.5788 GB, free: 5.102 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009083/0.1455, allocations: 0.9566 MB / 0.5797 GB, free: 4.055 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.1457, allocations: 163.7 kB / 0.5799 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.957e-05/0.1458, allocations: 67.06 kB / 0.58 GB, free: 3.816 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/0.1469, allocations: 1.829 MB / 0.5818 GB, free: 1.629 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.1469, allocations: 38.56 kB / 0.5818 GB, free: 1.582 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.1469, allocations: 0 / 0.5818 GB, free: 1.582 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002688/0.1472, allocations: 155.1 kB / 0.5819 GB, free: 1.426 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.1472, allocations: 55.41 kB / 0.582 GB, free: 1.359 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.1474, allocations: 161.6 kB / 0.5821 GB, free: 1.191 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.1474, allocations: 29.7 kB / 0.5822 GB, free: 1.156 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.1475, allocations: 143.8 kB / 0.5823 GB, free: 1.012 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.1475, allocations: 51.28 kB / 0.5824 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.1475, allocations: 4 kB / 0.5824 GB, free: 0.957 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.713e-05/0.1476, allocations: 330.8 kB / 0.5827 GB, free: 0.625 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.677e-05/0.1477, allocations: 35.97 kB / 0.5827 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.1478, allocations: 137.7 kB / 0.5828 GB, free: 416 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.147e-05/0.1479, allocations: 51.98 kB / 0.5829 GB, free: 364 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1479, allocations: 4 kB / 0.5829 GB, free: 360 kB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002734/0.1482, allocations: 215.3 kB / 0.5831 GB, free: 140 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.1482, allocations: 12 kB / 0.5831 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1482, allocations: 4 kB / 0.5831 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1482, allocations: 4 kB / 0.5831 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.1484, allocations: 55.91 kB / 0.5832 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.1484, allocations: 7.953 kB / 0.5832 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.784e-05/0.1485, allocations: 31.69 kB / 0.5832 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.1485, allocations: 12 kB / 0.5832 GB, free: 12 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.2102/0.3587, allocations: 125.3 kB / 0.5833 GB, free: 34.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/0.3588, allocations: 13.25 kB / 0.5834 GB, free: 34.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003357/0.3591, allocations: 163.4 kB / 0.5835 GB, free: 34.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.3591, allocations: 2.578 kB / 0.5835 GB, free: 34.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3591, allocations: 1 kB / 0.5835 GB, free: 34.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.3591, allocations: 8.156 kB / 0.5835 GB, free: 34.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.3594, allocations: 215 kB / 0.5837 GB, free: 34.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3594, allocations: 3.156 kB / 0.5837 GB, free: 34.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.3595, allocations: 25.67 kB / 0.5838 GB, free: 34.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.3595, allocations: 2.594 kB / 0.5838 GB, free: 34.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.3595, allocations: 7.016 kB / 0.5838 GB, free: 34.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3595, allocations: 2.484 kB / 0.5838 GB, free: 34.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3595, allocations: 1.281 kB / 0.5838 GB, free: 34.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.3597, allocations: 219.9 kB / 0.584 GB, free: 34.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.927e-05/0.3598, allocations: 116.4 kB / 0.5841 GB, free: 34.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.3599, allocations: 1.094 kB / 0.5841 GB, free: 34.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.3601, allocations: 24.16 kB / 0.5841 GB, free: 34.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/0.3601, allocations: 10.62 kB / 0.5841 GB, free: 34.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.3601, allocations: 15.38 kB / 0.5841 GB, free: 34.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.25e-05/0.3602, allocations: 120.9 kB / 0.5843 GB, free: 34.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3602, allocations: 1.812 kB / 0.5843 GB, free: 34.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003752/0.3606, allocations: 73.94 kB / 0.5843 GB, free: 34.39 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0004643/0.361, allocations: 0.8326 MB / 0.5851 GB, free: 33.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.3613, allocations: 118.6 kB / 0.5853 GB, free: 33.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3613, allocations: 0 / 0.5853 GB, free: 33.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.47e-05/0.3614, allocations: 45 kB / 0.5853 GB, free: 33.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.3618, allocations: 57.64 kB / 0.5853 GB, free: 33.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.363, allocations: 1.026 MB / 0.5864 GB, free: 33.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.3632, allocations: 0.7117 MB / 0.587 GB, free: 32.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001688/0.3634, allocations: 49.94 kB / 0.5871 GB, free: 32.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.159e-05/0.3634, allocations: 44.56 kB / 0.5871 GB, free: 32.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3634, allocations: 0 / 0.5871 GB, free: 32.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.3795, allocations: 5.003 MB / 0.592 GB, free: 31.96 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001426/0.3797, allocations: 194.6 kB / 0.5922 GB, free: 31.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.52/1.9, allocations: 0 / 0.5922 GB, free: 31.72 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) Environment - environmentSimulation: