Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.22/2.22, allocations: 390.5 MB / 398 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 180.1 kB / 491.2 MB, free: 1.578 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009474/0.0009472, allocations: 99.7 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.913e-05/1.939e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2457, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.969/1.215, allocations: 418.6 MB / 1.621 GB, free: 13.01 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/1.215, allocations: 69.17 kB / 1.621 GB, free: 12.97 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 0.04161/1.257, allocations: 18.96 MB / 1.64 GB, free: 13.77 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.423e-06/1.257, allocations: 0 / 1.64 GB, free: 13.77 MB / 1.057 GB Notification: Performance of Transformations before backend: time 5.67e-06/1.257, allocations: 0 / 1.64 GB, free: 13.77 MB / 1.057 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.0003763/1.257, allocations: 358.2 kB / 1.64 GB, free: 13.38 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/1.257, allocations: 8.031 kB / 1.64 GB, free: 13.37 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/1.257, allocations: 16.64 kB / 1.64 GB, free: 13.35 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/1.257, allocations: 159.1 kB / 1.64 GB, free: 13.16 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/1.257, allocations: 0 / 1.64 GB, free: 13.16 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/1.257, allocations: 4 kB / 1.64 GB, free: 13.15 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.37e-05/1.258, allocations: 23.3 kB / 1.64 GB, free: 13.13 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.033e-05/1.258, allocations: 40.62 kB / 1.64 GB, free: 13.09 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.258, allocations: 7.984 kB / 1.64 GB, free: 13.08 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/1.258, allocations: 0 / 1.64 GB, free: 13.08 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/1.258, allocations: 0 / 1.64 GB, free: 13.08 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/1.258, allocations: 141.2 kB / 1.64 GB, free: 12.91 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 8.121e-05/1.258, allocations: 48.12 kB / 1.64 GB, free: 12.86 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.779e-05/1.258, allocations: 12.86 kB / 1.641 GB, free: 12.85 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000805/1.259, allocations: 0.6232 MB / 1.641 GB, free: 12.13 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/1.259, allocations: 34.56 kB / 1.641 GB, free: 12.09 MB / 1.057 GB Notification: Performance of pre-optimization done (n=5): time 2.605e-06/1.259, allocations: 0 / 1.641 GB, free: 12.09 MB / 1.057 GB Notification: Performance of matching and sorting (n=7): time 0.0005967/1.259, allocations: 286.5 kB / 1.641 GB, free: 11.77 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/1.259, allocations: 51.41 kB / 1.641 GB, free: 11.7 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.89e-05/1.26, allocations: 92.31 kB / 1.642 GB, free: 11.61 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/1.26, allocations: 25.7 kB / 1.642 GB, free: 11.58 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/1.26, allocations: 91.73 kB / 1.642 GB, free: 11.49 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/1.26, allocations: 27.39 kB / 1.642 GB, free: 11.46 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/1.26, allocations: 0 / 1.642 GB, free: 11.46 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001163/1.26, allocations: 314.8 kB / 1.642 GB, free: 11.15 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.412e-05/1.26, allocations: 7.938 kB / 1.642 GB, free: 11.14 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.946e-05/1.26, allocations: 48.89 kB / 1.642 GB, free: 11.08 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.767e-05/1.26, allocations: 21.75 kB / 1.642 GB, free: 11.07 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.26, allocations: 3.984 kB / 1.642 GB, free: 11.06 MB / 1.057 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001407/1.26, allocations: 83.52 kB / 1.642 GB, free: 10.98 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/1.26, allocations: 4 kB / 1.642 GB, free: 10.98 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.26, allocations: 0 / 1.642 GB, free: 10.98 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/1.26, allocations: 4 kB / 1.642 GB, free: 10.97 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.912e-05/1.26, allocations: 32 kB / 1.642 GB, free: 10.94 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/1.26, allocations: 4 kB / 1.642 GB, free: 10.94 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.569e-05/1.26, allocations: 0 / 1.642 GB, free: 10.94 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/1.26, allocations: 7.25 kB / 1.642 GB, free: 10.93 MB / 1.057 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.655e-05/1.26, allocations: 101 kB / 1.642 GB, free: 10.83 MB / 1.057 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.967e-05/1.26, allocations: 61.25 kB / 1.642 GB, free: 10.77 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/1.261, allocations: 3.906 kB / 1.642 GB, free: 10.76 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/1.261, allocations: 15.36 kB / 1.642 GB, free: 10.75 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/1.261, allocations: 3.984 kB / 1.642 GB, free: 10.75 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/1.261, allocations: 4 kB / 1.642 GB, free: 10.75 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/1.261, allocations: 0 / 1.642 GB, free: 10.75 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/1.261, allocations: 145.5 kB / 1.643 GB, free: 10.57 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.261, allocations: 0 / 1.643 GB, free: 10.57 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.405e-05/1.261, allocations: 15.98 kB / 1.643 GB, free: 10.55 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/1.261, allocations: 0 / 1.643 GB, free: 10.55 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/1.261, allocations: 3.938 kB / 1.643 GB, free: 10.55 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.261, allocations: 4 kB / 1.643 GB, free: 10.55 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.261, allocations: 3.953 kB / 1.643 GB, free: 10.54 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/1.261, allocations: 168.3 kB / 1.643 GB, free: 10.37 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/1.261, allocations: 88.2 kB / 1.643 GB, free: 10.27 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/1.261, allocations: 3.938 kB / 1.643 GB, free: 10.27 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.755e-05/1.261, allocations: 4 kB / 1.643 GB, free: 10.26 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.025e-05/1.261, allocations: 7.938 kB / 1.643 GB, free: 10.25 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/1.261, allocations: 4 kB / 1.643 GB, free: 10.25 MB / 1.057 GB Notification: Performance of sorting global known variables: time 2.974e-05/1.261, allocations: 75.28 kB / 1.643 GB, free: 10.18 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.51e-07/1.261, allocations: 0 / 1.643 GB, free: 10.18 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0002347/1.262, allocations: 14.69 kB / 1.643 GB, free: 10.16 MB / 1.057 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.000527/1.262, allocations: 0.7529 MB / 1.644 GB, free: 9.395 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0001141/1.262, allocations: 46.53 kB / 1.644 GB, free: 9.355 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/1.262, allocations: 0 / 1.644 GB, free: 9.355 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 2.062e-05/1.262, allocations: 8 kB / 1.644 GB, free: 9.348 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/1.262, allocations: 8.156 kB / 1.644 GB, free: 9.344 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000708/1.263, allocations: 313.1 kB / 1.644 GB, free: 9.004 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/1.264, allocations: 0.6904 MB / 1.645 GB, free: 8.289 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 6.594e-05/1.264, allocations: 11.78 kB / 1.645 GB, free: 8.277 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/1.264, allocations: 14.69 kB / 1.645 GB, free: 8.266 MB / 1.057 GB Notification: Performance of SimCode: time 4.01e-07/1.264, allocations: 0 / 1.645 GB, free: 8.266 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/1.283, allocations: 1.491 MB / 1.646 GB, free: 6.785 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/1.283, allocations: 150.5 kB / 1.646 GB, free: 6.598 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.399/2.682, allocations: 0 / 1.646 GB, free: 6.598 MB / 1.057 GB (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat does not exist to compare? outputFormat=mat