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.001769/0.001769, 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.001973/0.001973, allocations: 204.9 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.375/1.375, allocations: 222.9 MB / 240.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7139/0.7139, allocations: 115.3 MB / 406 MB, free: 2.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 66.73 kB / 493 MB, free: 6.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1312, allocations: 76.18 MB / 0.5558 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01901/0.1502, allocations: 13.86 MB / 0.5694 GB, free: 12.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00301/0.1533, allocations: 2.699 MB / 0.572 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.1534, allocations: 0 / 0.572 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.1537, allocations: 43.8 kB / 0.5721 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.154, allocations: 83.48 kB / 0.5721 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.1552, allocations: 463.6 kB / 0.5726 GB, free: 9.566 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002991/0.1555, allocations: 299.9 kB / 0.5729 GB, free: 9.273 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.221e-05/0.1556, allocations: 13.55 kB / 0.5729 GB, free: 9.258 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007801/0.1634, allocations: 3.15 MB / 0.576 GB, free: 6.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.1636, allocations: 91.64 kB / 0.576 GB, free: 6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.1636, allocations: 8 kB / 0.5761 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002229/0.1659, allocations: 0.9739 MB / 0.577 GB, free: 5.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.111e-05/0.1659, allocations: 35.89 kB / 0.577 GB, free: 4.984 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.364e-05/0.166, allocations: 79.59 kB / 0.5771 GB, free: 4.906 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000645/0.1667, allocations: 367.1 kB / 0.5775 GB, free: 4.547 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1667, allocations: 4 kB / 0.5775 GB, free: 4.543 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1667, allocations: 3.938 kB / 0.5775 GB, free: 4.539 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1667, allocations: 0 / 0.5775 GB, free: 4.539 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.0007169/0.1674, allocations: 0.5031 MB / 0.578 GB, free: 3.988 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1675, allocations: 8.031 kB / 0.578 GB, free: 3.98 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.475e-05/0.1675, allocations: 54.73 kB / 0.578 GB, free: 3.918 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.1677, allocations: 24.73 kB / 0.578 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.1679, allocations: 216 kB / 0.5782 GB, free: 3.645 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1679, allocations: 12.7 kB / 0.5783 GB, free: 3.633 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.168, allocations: 20.36 kB / 0.5783 GB, free: 3.613 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.1684, allocations: 252.7 kB / 0.5785 GB, free: 3.348 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1684, allocations: 0 / 0.5785 GB, free: 3.348 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.1684, allocations: 8 kB / 0.5785 GB, free: 3.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.1684, allocations: 4 kB / 0.5785 GB, free: 3.336 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.1689, allocations: 431.3 kB / 0.5789 GB, free: 2.914 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.17, allocations: 0.9606 MB / 0.5799 GB, free: 1.863 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.1703, allocations: 160.5 kB / 0.58 GB, free: 1.699 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.1704, allocations: 64.88 kB / 0.5801 GB, free: 1.633 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2252/0.3956, allocations: 1.824 MB / 0.5819 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.3956, allocations: 37.97 kB / 0.5819 GB, free: 34.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.734e-06/0.3957, allocations: 0 / 0.5819 GB, free: 34.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003522/0.396, allocations: 149.1 kB / 0.5821 GB, free: 34.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.396, allocations: 54.31 kB / 0.5821 GB, free: 34.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.3962, allocations: 170.2 kB / 0.5823 GB, free: 34.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.3962, allocations: 32.25 kB / 0.5823 GB, free: 34.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.3963, allocations: 140 kB / 0.5824 GB, free: 34.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.3963, allocations: 57.06 kB / 0.5825 GB, free: 34.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-05/0.3964, allocations: 53.14 kB / 0.5825 GB, free: 34.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.121e-05/0.3964, allocations: 324.6 kB / 0.5829 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.881e-05/0.3965, allocations: 34.31 kB / 0.5829 GB, free: 33.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.3966, allocations: 140.3 kB / 0.583 GB, free: 33.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.3968, allocations: 204.3 kB / 0.5832 GB, free: 33.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3968, allocations: 1.094 kB / 0.5832 GB, free: 33.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003184/0.3971, allocations: 212.3 kB / 0.5834 GB, free: 33.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3971, allocations: 11.12 kB / 0.5834 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.3972, allocations: 4.5 kB / 0.5834 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3972, allocations: 8.875 kB / 0.5834 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.3974, allocations: 51.12 kB / 0.5835 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.3974, allocations: 5.938 kB / 0.5835 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.3975, allocations: 31.25 kB / 0.5835 GB, free: 33.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.3975, allocations: 13.52 kB / 0.5835 GB, free: 33.36 MB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.051e-05/0.3976, allocations: 139.4 kB / 0.5837 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.3977, allocations: 21.62 kB / 0.5837 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003018/0.398, allocations: 152.3 kB / 0.5838 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.398, allocations: 6.734 kB / 0.5838 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.398, allocations: 0 / 0.5838 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.398, allocations: 2.484 kB / 0.5838 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.3982, allocations: 215.8 kB / 0.584 GB, free: 32.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.3983, allocations: 4.234 kB / 0.5841 GB, free: 32.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.58e-05/0.3984, allocations: 25.42 kB / 0.5841 GB, free: 32.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3984, allocations: 4.844 kB / 0.5841 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3984, allocations: 9.422 kB / 0.5841 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3984, allocations: 2.047 kB / 0.5841 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3984, allocations: 0 / 0.5841 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.3986, allocations: 222.3 kB / 0.5843 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.997e-05/0.3987, allocations: 115.8 kB / 0.5844 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.3987, allocations: 1.859 kB / 0.5844 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.3989, allocations: 18.67 kB / 0.5844 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.399, allocations: 8.266 kB / 0.5844 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.399, allocations: 13.86 kB / 0.5845 GB, free: 32.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.911e-05/0.3991, allocations: 123 kB / 0.5846 GB, free: 32.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3991, allocations: 0.8438 kB / 0.5846 GB, free: 32.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003998/0.3995, allocations: 80.08 kB / 0.5847 GB, free: 32.66 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 (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.0005892/0.4001, allocations: 0.8419 MB / 0.5855 GB, free: 31.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.4003, allocations: 125.4 kB / 0.5856 GB, free: 31.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4003, allocations: 1.156 kB / 0.5856 GB, free: 31.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.927e-05/0.4004, allocations: 45.97 kB / 0.5856 GB, free: 31.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.4009, allocations: 49.58 kB / 0.5857 GB, free: 31.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.4027, allocations: 2.072 MB / 0.5877 GB, free: 30.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.4028, allocations: 0.7151 MB / 0.5884 GB, free: 29.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001958/0.403, allocations: 49.83 kB / 0.5885 GB, free: 29.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.367e-05/0.4031, allocations: 49.08 kB / 0.5885 GB, free: 29.58 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4031, allocations: 0 / 0.5885 GB, free: 29.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.4189, allocations: 5.216 MB / 0.5936 GB, free: 28.98 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001315/0.4191, allocations: 217.2 kB / 0.5938 GB, free: 28.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.231, allocations: 0.6875 kB / 0.5938 GB, free: 28.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/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)