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.7557/0.7557, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 184.4 kB / 187.3 MB, free: 11.9 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.42/1.42, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0009055/0.0009056, allocations: 97.61 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001784/0.001784, allocations: 275 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.699e-05/3.7e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.507/0.507, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8033/1.31, allocations: 377.8 MB / 1.133 GB, free: 13.15 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/1.311, allocations: 64.72 kB / 1.133 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.04032/1.351, allocations: 19.06 MB / 1.152 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.553e-06/1.351, allocations: 0 / 1.152 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.554e-06/1.351, allocations: 0 / 1.152 GB, free: 13.52 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.0004134/1.352, allocations: 369.8 kB / 1.152 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/1.352, allocations: 8.031 kB / 1.152 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.217e-05/1.352, allocations: 34.56 kB / 1.152 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/1.352, allocations: 4 kB / 1.152 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/1.352, allocations: 170.9 kB / 1.153 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/1.352, allocations: 7.562 kB / 1.153 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/1.352, allocations: 7.984 kB / 1.153 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/1.352, allocations: 59.69 kB / 1.153 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/1.352, allocations: 0 / 1.153 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/1.352, allocations: 4 kB / 1.153 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1.352, allocations: 4 kB / 1.153 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.993e-05/1.352, allocations: 15.17 kB / 1.153 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/1.352, allocations: 163.9 kB / 1.153 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.083e-05/1.352, allocations: 49.94 kB / 1.153 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.045e-05/1.352, allocations: 19.86 kB / 1.153 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007375/1.353, allocations: 0.6324 MB / 1.153 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/1.353, allocations: 30.56 kB / 1.154 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/1.353, allocations: 0 / 1.154 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0005468/1.354, allocations: 286.2 kB / 1.154 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/1.354, allocations: 63.34 kB / 1.154 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.857e-05/1.354, allocations: 96.94 kB / 1.154 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/1.354, allocations: 25.7 kB / 1.154 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.358e-05/1.354, allocations: 87.42 kB / 1.154 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/1.354, allocations: 27.52 kB / 1.154 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/1.354, allocations: 0 / 1.154 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.354, allocations: 318.2 kB / 1.154 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.43e-05/1.354, allocations: 11.81 kB / 1.154 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-05/1.354, allocations: 64.17 kB / 1.154 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.58e-05/1.354, allocations: 15.88 kB / 1.154 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/1.354, allocations: 0 / 1.154 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001286/1.354, allocations: 96.03 kB / 1.155 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/1.354, allocations: 8 kB / 1.155 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.354, allocations: 0 / 1.155 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/1.354, allocations: 4 kB / 1.155 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.434e-05/1.355, allocations: 31.03 kB / 1.155 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/1.355, allocations: 0 / 1.155 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/1.355, allocations: 11.94 kB / 1.155 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/1.355, allocations: 4 kB / 1.155 GB, free: 10.55 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 6.755e-05/1.355, allocations: 104.9 kB / 1.155 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/1.355, allocations: 8.031 kB / 1.155 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.306e-05/1.355, allocations: 11.95 kB / 1.155 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/1.355, allocations: 0 / 1.155 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/1.355, allocations: 4 kB / 1.155 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/1.355, allocations: 0 / 1.155 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/1.355, allocations: 181.3 kB / 1.155 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.355, allocations: 256 / 1.155 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.253e-05/1.355, allocations: 19.94 kB / 1.155 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/1.355, allocations: 0 / 1.155 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/1.355, allocations: 0 / 1.155 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.355, allocations: 4 kB / 1.155 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/1.355, allocations: 4 kB / 1.155 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/1.355, allocations: 172.6 kB / 1.155 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/1.355, allocations: 81.11 kB / 1.155 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/1.355, allocations: 4.031 kB / 1.155 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.404e-05/1.356, allocations: 4 kB / 1.155 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.597e-05/1.356, allocations: 3.25 kB / 1.155 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/1.356, allocations: 4 kB / 1.155 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.298e-05/1.356, allocations: 83.22 kB / 1.155 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/1.356, allocations: 4 kB / 1.155 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002297/1.356, allocations: 19.73 kB / 1.155 GB, free: 9.801 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.0005735/1.356, allocations: 0.748 MB / 1.156 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.994e-05/1.357, allocations: 41.91 kB / 1.156 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.357, allocations: 0 / 1.156 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.241e-05/1.357, allocations: 15.94 kB / 1.156 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/1.357, allocations: 11.23 kB / 1.156 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000628/1.357, allocations: 317.9 kB / 1.156 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/1.358, allocations: 0.6887 MB / 1.157 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.431e-05/1.358, allocations: 4 kB / 1.157 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/1.358, allocations: 18.3 kB / 1.157 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of SimCode: time 2.61e-07/1.358, allocations: 3.938 kB / 1.157 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01332/1.371, allocations: 2.342 MB / 1.159 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002358/1.371, allocations: 168.1 kB / 1.16 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.54/2.911, allocations: 3.938 kB / 1.16 GB, free: 5.531 MB / 0.6823 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)