Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.879/1.879, allocations: 289.9 MB / 297.4 MB, free: 6.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001859/0.001859, allocations: 168.9 kB / 366.7 MB, free: 1.633 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.911/1.911, allocations: 205.2 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008664/0.000866, allocations: 88.7 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.627e-05/1.652e-05, allocations: 0 / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8092/0.8092, allocations: 116.3 MB / 0.9733 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.139/1.948, allocations: 407.3 MB / 1.371 GB, free: 149.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/1.949, allocations: 65.38 kB / 1.371 GB, free: 149.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03613/1.985, allocations: 18.61 MB / 1.389 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.492e-06/1.985, allocations: 0 / 1.389 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.692e-06/1.985, allocations: 3.5 kB / 1.389 GB, free: 134.3 MB / 0.8542 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.0003032/1.985, allocations: 362.2 kB / 1.39 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.985, allocations: 8.031 kB / 1.39 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/1.985, allocations: 7.906 kB / 1.39 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.983e-05/1.986, allocations: 167 kB / 1.39 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/1.986, allocations: 7.938 kB / 1.39 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/1.986, allocations: 0 / 1.39 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.239e-05/1.986, allocations: 19.86 kB / 1.39 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.764e-05/1.986, allocations: 45 kB / 1.39 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/1.986, allocations: 1.312 kB / 1.39 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/1.986, allocations: 3.984 kB / 1.39 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/1.986, allocations: 5.406 kB / 1.39 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001254/1.986, allocations: 141.7 kB / 1.39 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.801e-05/1.986, allocations: 45.95 kB / 1.39 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.266e-05/1.986, allocations: 16.8 kB / 1.39 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005804/1.987, allocations: 0.6165 MB / 1.391 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/1.987, allocations: 30.56 kB / 1.391 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/1.987, allocations: 0 / 1.391 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0004835/1.987, allocations: 289.8 kB / 1.391 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.785e-05/1.987, allocations: 51.41 kB / 1.391 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.828e-05/1.987, allocations: 92.98 kB / 1.391 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/1.987, allocations: 29.7 kB / 1.391 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.946e-05/1.987, allocations: 95.56 kB / 1.391 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.361e-05/1.987, allocations: 26.92 kB / 1.391 GB, free: 132 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/1.987, allocations: 0 / 1.391 GB, free: 132 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.503e-05/1.987, allocations: 316.2 kB / 1.392 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/1.987, allocations: 7.625 kB / 1.392 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.748e-05/1.987, allocations: 55.89 kB / 1.392 GB, free: 131.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.928e-05/1.987, allocations: 15.56 kB / 1.392 GB, free: 131.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/1.987, allocations: 0 / 1.392 GB, free: 131.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.674e-05/1.988, allocations: 80.55 kB / 1.392 GB, free: 131.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/1.988, allocations: 5.094 kB / 1.392 GB, free: 131.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/1.988, allocations: 4.125 kB / 1.392 GB, free: 131.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/1.988, allocations: 4 kB / 1.392 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.022e-05/1.988, allocations: 23.92 kB / 1.392 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/1.988, allocations: 4 kB / 1.392 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.457e-05/1.988, allocations: 3.938 kB / 1.392 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/1.988, allocations: 7.953 kB / 1.392 GB, free: 131.5 MB / 0.8542 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 4.858e-05/1.988, allocations: 108.4 kB / 1.392 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.929e-05/1.988, allocations: 53.56 kB / 1.392 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/1.988, allocations: 9.125 kB / 1.392 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.402e-05/1.988, allocations: 8.406 kB / 1.392 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/1.988, allocations: 0 / 1.392 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.988, allocations: 7.938 kB / 1.392 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/1.988, allocations: 0 / 1.392 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/1.988, allocations: 152.9 kB / 1.392 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.988, allocations: 0 / 1.392 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.925e-05/1.988, allocations: 15.98 kB / 1.392 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/1.988, allocations: 0 / 1.392 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/1.988, allocations: 4 kB / 1.392 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/1.988, allocations: 1.75 kB / 1.392 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.988, allocations: 0 / 1.392 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/1.988, allocations: 170.4 kB / 1.392 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/1.988, allocations: 88.91 kB / 1.392 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/1.988, allocations: 0 / 1.392 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.425e-05/1.989, allocations: 4 kB / 1.392 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/1.989, allocations: 3.984 kB / 1.392 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/1.989, allocations: 4 kB / 1.392 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.932e-05/1.989, allocations: 75.28 kB / 1.393 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.41e-07/1.989, allocations: 4 kB / 1.393 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002336/1.989, allocations: 15.94 kB / 1.393 GB, free: 130.7 MB / 0.8542 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.0003704/1.989, allocations: 0.7547 MB / 1.393 GB, free: 130 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.526e-05/1.989, allocations: 35.31 kB / 1.393 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.989, allocations: 0 / 1.393 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.544e-05/1.989, allocations: 12.94 kB / 1.393 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/1.99, allocations: 2.062 kB / 1.393 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005613/1.99, allocations: 319.4 kB / 1.394 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/1.99, allocations: 0.6885 MB / 1.394 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.662e-05/1.99, allocations: 8 kB / 1.394 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/1.99, allocations: 15 kB / 1.394 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of SimCode: time 2.41e-07/1.99, allocations: 0 / 1.394 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/2.011, allocations: 1.494 MB / 1.396 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/2.011, allocations: 147.6 kB / 1.396 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/3.612, allocations: 0 / 1.396 GB, free: 127.2 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)