Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.218/2.218, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001236/0.001236, allocations: 180.8 kB / 487.4 MB, free: 5.059 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.568/1.568, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 107.7 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.085e-05/2.083e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2982, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.215/1.513, allocations: 391.7 MB / 1.589 GB, free: 14.23 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/1.513, allocations: 73.64 kB / 1.589 GB, free: 14.2 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 0.04874/1.562, allocations: 20.06 MB / 1.608 GB, free: 14.09 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.874e-06/1.562, allocations: 0 / 1.608 GB, free: 14.09 MB / 1.026 GB Notification: Performance of Transformations before backend: time 9.458e-06/1.562, allocations: 8 kB / 1.608 GB, free: 14.08 MB / 1.026 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.0007385/1.563, allocations: 474.9 kB / 1.609 GB, free: 13.58 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/1.563, allocations: 12.03 kB / 1.609 GB, free: 13.57 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/1.563, allocations: 19.81 kB / 1.609 GB, free: 13.55 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/1.563, allocations: 220.5 kB / 1.609 GB, free: 13.3 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/1.563, allocations: 8 kB / 1.609 GB, free: 13.29 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/1.563, allocations: 8 kB / 1.609 GB, free: 13.29 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005004/1.564, allocations: 408.4 kB / 1.609 GB, free: 12.96 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/1.564, allocations: 215.8 kB / 1.609 GB, free: 12.77 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/1.564, allocations: 3.938 kB / 1.609 GB, free: 12.77 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/1.564, allocations: 0 / 1.609 GB, free: 12.77 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.825e-05/1.564, allocations: 8 kB / 1.61 GB, free: 12.76 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/1.565, allocations: 0.9445 MB / 1.61 GB, free: 11.83 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/1.566, allocations: 147.1 kB / 1.611 GB, free: 11.71 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.872e-05/1.566, allocations: 56.89 kB / 1.611 GB, free: 11.66 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001517/1.567, allocations: 1.914 MB / 1.612 GB, free: 9.426 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/1.567, allocations: 37.62 kB / 1.613 GB, free: 9.383 MB / 1.026 GB Notification: Performance of pre-optimization done (n=15): time 2.675e-06/1.567, allocations: 3.984 kB / 1.613 GB, free: 9.379 MB / 1.026 GB Notification: Performance of matching and sorting (n=15): time 0.0004793/1.568, allocations: 134.1 kB / 1.613 GB, free: 9.258 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/1.568, allocations: 51.41 kB / 1.613 GB, free: 9.195 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/1.568, allocations: 135.5 kB / 1.613 GB, free: 9.066 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/1.568, allocations: 29.7 kB / 1.613 GB, free: 9.031 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/1.568, allocations: 146.4 kB / 1.613 GB, free: 8.891 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/1.568, allocations: 47.09 kB / 1.613 GB, free: 8.848 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-06/1.568, allocations: 4 kB / 1.613 GB, free: 8.844 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001108/1.568, allocations: 326.3 kB / 1.613 GB, free: 8.523 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.648e-05/1.568, allocations: 27.5 kB / 1.613 GB, free: 8.504 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/1.568, allocations: 131.9 kB / 1.614 GB, free: 8.34 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/1.569, allocations: 85.19 kB / 1.614 GB, free: 8.27 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.569, allocations: 0 / 1.614 GB, free: 8.27 MB / 1.026 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004541/1.569, allocations: 213.3 kB / 1.614 GB, free: 8.078 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/1.569, allocations: 5.562 kB / 1.614 GB, free: 8.074 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.569, allocations: 4 kB / 1.614 GB, free: 8.07 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/1.569, allocations: 8 kB / 1.614 GB, free: 8.062 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/1.569, allocations: 59.86 kB / 1.614 GB, free: 8.004 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/1.569, allocations: 7.938 kB / 1.614 GB, free: 7.996 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/1.569, allocations: 23.69 kB / 1.614 GB, free: 7.973 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/1.57, allocations: 15.69 kB / 1.614 GB, free: 7.961 MB / 1.026 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.884e-05/1.57, allocations: 113.1 kB / 1.614 GB, free: 7.844 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003727/1.57, allocations: 132.3 kB / 1.614 GB, free: 7.723 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/1.57, allocations: 15.81 kB / 1.614 GB, free: 7.707 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004754/1.571, allocations: 174.1 kB / 1.614 GB, free: 7.551 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/1.571, allocations: 0 / 1.614 GB, free: 7.551 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/1.571, allocations: 4 kB / 1.614 GB, free: 7.547 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/1.571, allocations: 7.984 kB / 1.614 GB, free: 7.539 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/1.571, allocations: 184.3 kB / 1.615 GB, free: 7.336 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.571, allocations: 0 / 1.615 GB, free: 7.336 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/1.571, allocations: 27.98 kB / 1.615 GB, free: 7.309 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/1.571, allocations: 7.938 kB / 1.615 GB, free: 7.301 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/1.571, allocations: 0 / 1.615 GB, free: 7.301 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.571, allocations: 0 / 1.615 GB, free: 7.301 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.571, allocations: 3.953 kB / 1.615 GB, free: 7.297 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004138/1.571, allocations: 229.3 kB / 1.615 GB, free: 7.074 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 9.282e-05/1.571, allocations: 127.6 kB / 1.615 GB, free: 6.941 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/1.572, allocations: 0 / 1.615 GB, free: 6.941 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/1.572, allocations: 19.98 kB / 1.615 GB, free: 6.922 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/1.572, allocations: 11.94 kB / 1.615 GB, free: 6.91 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/1.572, allocations: 8 kB / 1.615 GB, free: 6.902 MB / 1.026 GB Notification: Performance of sorting global known variables: time 7.534e-05/1.572, allocations: 112.7 kB / 1.615 GB, free: 6.805 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.6e-07/1.572, allocations: 0 / 1.615 GB, free: 6.805 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0004049/1.572, allocations: 75.48 kB / 1.615 GB, free: 6.734 MB / 1.026 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.000849/1.573, allocations: 0.8582 MB / 1.616 GB, free: 5.871 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0001975/1.573, allocations: 95.83 kB / 1.616 GB, free: 5.797 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/1.573, allocations: 4 kB / 1.616 GB, free: 5.793 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 4.913e-05/1.573, allocations: 43.48 kB / 1.616 GB, free: 5.758 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/1.574, allocations: 35.47 kB / 1.616 GB, free: 5.727 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007169/1.574, allocations: 230.1 kB / 1.616 GB, free: 5.48 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/1.575, allocations: 0.7206 MB / 1.617 GB, free: 4.727 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0001723/1.575, allocations: 41.67 kB / 1.617 GB, free: 4.684 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.722e-05/1.575, allocations: 45.61 kB / 1.617 GB, free: 4.656 MB / 1.026 GB Notification: Performance of SimCode: time 2.91e-07/1.575, allocations: 0 / 1.617 GB, free: 4.656 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/1.6, allocations: 4.173 MB / 1.621 GB, free: 0.5117 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/1.6, allocations: 132.9 kB / 1.621 GB, free: 320 kB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/3.357, allocations: 0 / 1.621 GB, free: 320 kB / 1.026 GB (rm -f Buildings_9_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_WaterProperties.fmu > Buildings_9_Buildings.Media.Examples.WaterProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.WaterProperties_res.mat does not exist to compare? outputFormat=mat