Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties",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.112/2.112, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.00106/0.00106, allocations: 172.6 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 221.3 MB / 0.7915 GB, free: 5.43 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.0009721/0.0009719, allocations: 99.62 kB / 0.9317 GB, free: 5.742 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.996e-05/3.019e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2667, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.143/1.41, allocations: 439.2 MB / 1.648 GB, free: 11.16 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/1.41, allocations: 72.98 kB / 1.648 GB, free: 11.09 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 0.05765/1.468, allocations: 25.91 MB / 1.673 GB, free: 1.023 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.873e-06/1.468, allocations: 0 / 1.673 GB, free: 1.023 MB / 1.12 GB Notification: Performance of Transformations before backend: time 1.089e-05/1.468, allocations: 7.938 kB / 1.673 GB, free: 1.016 MB / 1.12 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.0007462/1.469, allocations: 495.3 kB / 1.674 GB, free: 496 kB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/1.469, allocations: 8.031 kB / 1.674 GB, free: 488 kB / 1.12 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.003e-05/1.469, allocations: 50.55 kB / 1.674 GB, free: 428 kB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/1.469, allocations: 35.77 kB / 1.674 GB, free: 392 kB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/1.469, allocations: 206.8 kB / 1.674 GB, free: 144 kB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/1.469, allocations: 8.328 kB / 1.674 GB, free: 136 kB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/1.469, allocations: 23.98 kB / 1.674 GB, free: 112 kB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003742/1.47, allocations: 232.9 kB / 1.674 GB, free: 15.86 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/1.47, allocations: 4 kB / 1.674 GB, free: 15.86 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/1.47, allocations: 8 kB / 1.674 GB, free: 15.85 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.128e-05/1.47, allocations: 12 kB / 1.674 GB, free: 15.84 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004594/1.47, allocations: 423.5 kB / 1.675 GB, free: 15.42 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/1.471, allocations: 1.043 MB / 1.676 GB, free: 14.29 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/1.472, allocations: 150.4 kB / 1.676 GB, free: 14.13 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.629e-05/1.472, allocations: 64.83 kB / 1.676 GB, free: 14.06 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001447/1.473, allocations: 1.954 MB / 1.678 GB, free: 11.75 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/1.473, allocations: 34.56 kB / 1.678 GB, free: 11.71 MB / 1.135 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/1.473, allocations: 4 kB / 1.678 GB, free: 11.7 MB / 1.135 GB Notification: Performance of matching and sorting (n=15): time 0.0002675/1.474, allocations: 114.1 kB / 1.678 GB, free: 11.59 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/1.474, allocations: 55.41 kB / 1.678 GB, free: 11.52 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/1.474, allocations: 154.4 kB / 1.678 GB, free: 11.36 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/1.474, allocations: 25.7 kB / 1.678 GB, free: 11.33 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 7.534e-05/1.474, allocations: 143.8 kB / 1.678 GB, free: 11.18 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/1.474, allocations: 55.28 kB / 1.678 GB, free: 11.13 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.206e-06/1.474, allocations: 4 kB / 1.678 GB, free: 11.12 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001012/1.474, allocations: 322.8 kB / 1.679 GB, free: 10.8 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.072e-05/1.474, allocations: 39.94 kB / 1.679 GB, free: 10.76 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/1.474, allocations: 126.2 kB / 1.679 GB, free: 10.59 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.372e-05/1.474, allocations: 66.8 kB / 1.679 GB, free: 10.53 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.474, allocations: 0 / 1.679 GB, free: 10.53 MB / 1.135 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003143/1.475, allocations: 213.3 kB / 1.679 GB, free: 10.31 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.475, allocations: 13.2 kB / 1.679 GB, free: 10.3 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/1.475, allocations: 4 kB / 1.679 GB, free: 10.3 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/1.475, allocations: 4 kB / 1.679 GB, free: 10.29 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/1.475, allocations: 59.91 kB / 1.679 GB, free: 10.23 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/1.475, allocations: 11.94 kB / 1.679 GB, free: 10.22 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/1.475, allocations: 27.69 kB / 1.679 GB, free: 10.2 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/1.475, allocations: 15.98 kB / 1.679 GB, free: 10.18 MB / 1.135 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.714e-05/1.475, allocations: 122.5 kB / 1.679 GB, free: 10.05 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/1.475, allocations: 15.81 kB / 1.679 GB, free: 10.04 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002976/1.475, allocations: 155.2 kB / 1.679 GB, free: 9.887 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/1.476, allocations: 0 / 1.679 GB, free: 9.887 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.476, allocations: 0 / 1.679 GB, free: 9.887 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/1.476, allocations: 4 kB / 1.679 GB, free: 9.883 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/1.476, allocations: 217.5 kB / 1.68 GB, free: 9.621 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.476, allocations: 3.938 kB / 1.68 GB, free: 9.617 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/1.476, allocations: 31.98 kB / 1.68 GB, free: 9.586 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.476, allocations: 0 / 1.68 GB, free: 9.586 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/1.476, allocations: 3.984 kB / 1.68 GB, free: 9.582 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/1.476, allocations: 3.953 kB / 1.68 GB, free: 9.578 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.476, allocations: 7.938 kB / 1.68 GB, free: 9.57 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/1.476, allocations: 216.3 kB / 1.68 GB, free: 9.344 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 8.282e-05/1.476, allocations: 116.8 kB / 1.68 GB, free: 9.211 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/1.476, allocations: 3.938 kB / 1.68 GB, free: 9.207 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/1.476, allocations: 31.98 kB / 1.68 GB, free: 9.176 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/1.476, allocations: 15.88 kB / 1.68 GB, free: 9.16 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/1.477, allocations: 4 kB / 1.68 GB, free: 9.156 MB / 1.135 GB Notification: Performance of sorting global known variables: time 8.2e-05/1.477, allocations: 120.9 kB / 1.68 GB, free: 9.039 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.5e-07/1.477, allocations: 0 / 1.68 GB, free: 9.039 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0003699/1.477, allocations: 87.92 kB / 1.68 GB, free: 8.953 MB / 1.135 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.0007126/1.478, allocations: 0.8753 MB / 1.681 GB, free: 8.051 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0002096/1.478, allocations: 112.2 kB / 1.681 GB, free: 7.941 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.478, allocations: 0 / 1.681 GB, free: 7.941 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 6.227e-05/1.478, allocations: 43.98 kB / 1.681 GB, free: 7.898 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/1.478, allocations: 52.41 kB / 1.681 GB, free: 7.848 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007049/1.479, allocations: 243.8 kB / 1.682 GB, free: 7.578 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/1.479, allocations: 0.717 MB / 1.682 GB, free: 6.832 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.0001587/1.48, allocations: 53.8 kB / 1.682 GB, free: 6.781 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.771e-05/1.48, allocations: 47.41 kB / 1.682 GB, free: 6.734 MB / 1.135 GB Notification: Performance of SimCode: time 2.51e-07/1.48, allocations: 0 / 1.682 GB, free: 6.734 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/1.496, allocations: 5.454 MB / 1.688 GB, free: 1.441 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001412/1.496, allocations: 166.8 kB / 1.688 GB, free: 1.215 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/3.079, allocations: 2.672 kB / 1.688 GB, free: 1.215 MB / 1.135 GB (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat does not exist to compare? outputFormat=mat