Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterProperties.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Media.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00098/0.0009799, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5205/0.5205, allocations: 90.91 MB / 99.34 MB, free: 2.203 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 221.5 MB / 343.2 MB, free: 1.551 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008771/0.0008771, allocations: 91.83 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.762e-05/1.766e-05, allocations: 0 / 494.6 MB, free: 52.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1706, allocations: 72.32 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.169/1.34, allocations: 344 MB / 0.8895 GB, free: 135.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/1.34, allocations: 68.16 kB / 0.8896 GB, free: 135.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.04042/1.38, allocations: 20.06 MB / 0.9092 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.575e-06/1.38, allocations: 4 kB / 0.9092 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.342e-05/1.38, allocations: 4 kB / 0.9092 GB, free: 119.3 MB / 0.5886 GB 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.0007722/1.381, allocations: 480 kB / 0.9096 GB, free: 118.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/1.381, allocations: 8.031 kB / 0.9096 GB, free: 118.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/1.381, allocations: 23.8 kB / 0.9097 GB, free: 118.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/1.382, allocations: 209.8 kB / 0.9099 GB, free: 118.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/1.382, allocations: 4 kB / 0.9099 GB, free: 118.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/1.382, allocations: 8 kB / 0.9099 GB, free: 118.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000467/1.382, allocations: 407.2 kB / 0.9103 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/1.382, allocations: 216.4 kB / 0.9105 GB, free: 118 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/1.383, allocations: 0 / 0.9105 GB, free: 118 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/1.383, allocations: 11.94 kB / 0.9105 GB, free: 118 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.131e-05/1.383, allocations: 4 kB / 0.9105 GB, free: 118 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009932/1.384, allocations: 0.9539 MB / 0.9114 GB, free: 117.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/1.384, allocations: 144.2 kB / 0.9115 GB, free: 116.9 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.377e-05/1.384, allocations: 50.45 kB / 0.9116 GB, free: 116.9 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001097/1.385, allocations: 1.92 MB / 0.9135 GB, free: 114.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/1.385, allocations: 30.56 kB / 0.9135 GB, free: 114.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 2.234e-06/1.385, allocations: 0 / 0.9135 GB, free: 114.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.000466/1.386, allocations: 139.7 kB / 0.9136 GB, free: 114.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/1.386, allocations: 51.41 kB / 0.9137 GB, free: 114.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.653e-05/1.386, allocations: 133.8 kB / 0.9138 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/1.386, allocations: 25.7 kB / 0.9138 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/1.386, allocations: 150.6 kB / 0.914 GB, free: 114.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/1.386, allocations: 46.7 kB / 0.914 GB, free: 114.1 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-06/1.386, allocations: 0 / 0.914 GB, free: 114.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.535e-05/1.386, allocations: 326.1 kB / 0.9143 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.457e-05/1.386, allocations: 27.44 kB / 0.9144 GB, free: 113.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.429e-05/1.386, allocations: 132.7 kB / 0.9145 GB, free: 113.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/1.386, allocations: 82.19 kB / 0.9146 GB, free: 113.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.386, allocations: 0 / 0.9146 GB, free: 113.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004075/1.387, allocations: 209.4 kB / 0.9148 GB, free: 113.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/1.387, allocations: 7.938 kB / 0.9148 GB, free: 113.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.387, allocations: 4 kB / 0.9148 GB, free: 113.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/1.387, allocations: 8 kB / 0.9148 GB, free: 113.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/1.387, allocations: 55.91 kB / 0.9148 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/1.387, allocations: 4 kB / 0.9148 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/1.387, allocations: 28.02 kB / 0.9149 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/1.387, allocations: 19.98 kB / 0.9149 GB, free: 113.2 MB / 0.5886 GB 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 () * 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 8.856e-05/1.387, allocations: 116.5 kB / 0.915 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000335/1.388, allocations: 131.7 kB / 0.9151 GB, free: 113 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/1.388, allocations: 15.81 kB / 0.9151 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004381/1.388, allocations: 170.7 kB / 0.9153 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/1.388, allocations: 0 / 0.9153 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/1.388, allocations: 0 / 0.9153 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/1.388, allocations: 4 kB / 0.9153 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/1.388, allocations: 188.4 kB / 0.9155 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/1.388, allocations: 4 kB / 0.9155 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/1.388, allocations: 31.92 kB / 0.9155 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/1.388, allocations: 3.953 kB / 0.9155 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/1.388, allocations: 3.984 kB / 0.9155 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/1.388, allocations: 0 / 0.9155 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.388, allocations: 4 kB / 0.9155 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/1.389, allocations: 225 kB / 0.9157 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.466e-05/1.389, allocations: 123.8 kB / 0.9159 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/1.389, allocations: 7.891 kB / 0.9159 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/1.389, allocations: 15.98 kB / 0.9159 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/1.389, allocations: 11.92 kB / 0.9159 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/1.389, allocations: 11.98 kB / 0.9159 GB, free: 112.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.824e-05/1.389, allocations: 113.3 kB / 0.916 GB, free: 112 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/1.389, allocations: 0 / 0.916 GB, free: 112 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003956/1.39, allocations: 79.53 kB / 0.9161 GB, free: 112 MB / 0.5886 GB 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 () * 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.0007075/1.39, allocations: 0.8442 MB / 0.9169 GB, free: 111.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001829/1.391, allocations: 98.41 kB / 0.917 GB, free: 111 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.391, allocations: 0.9375 kB / 0.917 GB, free: 111 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.577e-05/1.391, allocations: 39.69 kB / 0.917 GB, free: 111 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/1.391, allocations: 37 kB / 0.9171 GB, free: 111 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006911/1.392, allocations: 226.7 kB / 0.9173 GB, free: 110.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/1.392, allocations: 0.7167 MB / 0.918 GB, free: 110 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001595/1.392, allocations: 45.8 kB / 0.918 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.035e-05/1.392, allocations: 40.67 kB / 0.9181 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of SimCode: time 1.122e-06/1.392, allocations: 0 / 0.9181 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/1.415, allocations: 4.179 MB / 0.9222 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/1.416, allocations: 120 kB / 0.9223 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/3.014, allocations: 7.938 kB / 0.9223 GB, free: 105.6 MB / 0.5886 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_WaterProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1)