Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9925/0.9925, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001367, allocations: 184.8 kB / 182.2 MB, free: 9.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.612/1.612, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008882/0.0008881, allocations: 99.62 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002042/0.002042, allocations: 277.6 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.085e-05/2.089e-05, allocations: 0 / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5244/0.5245, allocations: 82.77 MB / 0.7574 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9803/1.505, allocations: 377.1 MB / 1.126 GB, free: 4.645 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/1.505, allocations: 72.34 kB / 1.126 GB, free: 4.605 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.05375/1.559, allocations: 18.96 MB / 1.144 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.934e-06/1.559, allocations: 0 / 1.144 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.075e-06/1.559, allocations: 0 / 1.144 GB, free: 5.383 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004456/1.56, allocations: 358.2 kB / 1.145 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/1.56, allocations: 12.03 kB / 1.145 GB, free: 4.98 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/1.56, allocations: 11.84 kB / 1.145 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/1.56, allocations: 167 kB / 1.145 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/1.56, allocations: 4 kB / 1.145 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/1.56, allocations: 3.25 kB / 1.145 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.676e-05/1.56, allocations: 19.92 kB / 1.145 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/1.56, allocations: 50.19 kB / 1.145 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/1.56, allocations: 0 / 1.145 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/1.56, allocations: 0 / 1.145 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/1.56, allocations: 0 / 1.145 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001795/1.56, allocations: 141.7 kB / 1.145 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.201e-05/1.56, allocations: 51.12 kB / 1.145 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.928e-05/1.56, allocations: 12.81 kB / 1.145 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008662/1.561, allocations: 0.6354 MB / 1.146 GB, free: 3.723 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/1.561, allocations: 30.56 kB / 1.146 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/1.561, allocations: 0 / 1.146 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0005716/1.562, allocations: 268 kB / 1.146 GB, free: 3.383 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/1.562, allocations: 55.41 kB / 1.146 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.685e-05/1.562, allocations: 92.06 kB / 1.146 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/1.562, allocations: 25.7 kB / 1.146 GB, free: 3.191 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/1.562, allocations: 92.03 kB / 1.146 GB, free: 3.098 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/1.562, allocations: 23.41 kB / 1.146 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/1.562, allocations: 0 / 1.146 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1.562, allocations: 322.6 kB / 1.147 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.255e-05/1.562, allocations: 11.38 kB / 1.147 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-05/1.563, allocations: 48.66 kB / 1.147 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.457e-05/1.563, allocations: 19.92 kB / 1.147 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/1.563, allocations: 0 / 1.147 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001205/1.563, allocations: 85.02 kB / 1.147 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/1.563, allocations: 8 kB / 1.147 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.563, allocations: 0 / 1.147 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/1.563, allocations: 4.406 kB / 1.147 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.463e-05/1.563, allocations: 20 kB / 1.147 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/1.563, allocations: 7.734 kB / 1.147 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.746e-05/1.563, allocations: 4 kB / 1.147 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/1.563, allocations: 7.938 kB / 1.147 GB, free: 2.547 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * 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.864e-05/1.563, allocations: 112.8 kB / 1.147 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.017e-05/1.563, allocations: 53.69 kB / 1.147 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/1.563, allocations: 11.89 kB / 1.147 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/1.563, allocations: 4.406 kB / 1.147 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/1.563, allocations: 4 kB / 1.147 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.563, allocations: 4 kB / 1.147 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.563, allocations: 7.891 kB / 1.147 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/1.563, allocations: 146 kB / 1.147 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/1.563, allocations: 0 / 1.147 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.531e-05/1.564, allocations: 19.19 kB / 1.147 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/1.564, allocations: 0 / 1.147 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/1.564, allocations: 0 / 1.147 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/1.564, allocations: 7.922 kB / 1.147 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.564, allocations: 0 / 1.147 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/1.564, allocations: 162.9 kB / 1.147 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.108e-05/1.564, allocations: 85.02 kB / 1.147 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/1.564, allocations: 4.281 kB / 1.147 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.65e-05/1.564, allocations: 4 kB / 1.147 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/1.564, allocations: 6.812 kB / 1.147 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/1.564, allocations: 0 / 1.147 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.963e-05/1.564, allocations: 83.27 kB / 1.148 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/1.564, allocations: 0 / 1.148 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002458/1.564, allocations: 19.88 kB / 1.148 GB, free: 1.766 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * 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.0005931/1.565, allocations: 0.7401 MB / 1.148 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.797e-05/1.565, allocations: 39.17 kB / 1.148 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.565, allocations: 4 kB / 1.148 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.651e-05/1.565, allocations: 8 kB / 1.148 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/1.565, allocations: 11.86 kB / 1.148 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006723/1.566, allocations: 309.4 kB / 1.149 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/1.566, allocations: 0.6891 MB / 1.149 GB, free: 15.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6e-05/1.566, allocations: 4 kB / 1.149 GB, free: 15.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/1.566, allocations: 19.36 kB / 1.149 GB, free: 15.89 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/1.566, allocations: 0 / 1.149 GB, free: 15.89 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/1.586, allocations: 1.505 MB / 1.151 GB, free: 14.41 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/1.587, allocations: 166.3 kB / 1.151 GB, free: 14.21 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/3.327, allocations: 0 / 1.151 GB, free: 14.21 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)