Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.SteamProperties.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.SteamProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_SteamProperties",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.451/2.451, allocations: 390.3 MB / 405.3 MB, free: 13.4 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.001136/0.001136, allocations: 178.1 kB / 498.1 MB, free: 5.68 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.713/1.713, allocations: 223.2 MB / 0.7948 GB, free: 18.77 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.0008877/0.0008877, allocations: 99.95 kB / 0.9346 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.000328, allocations: 8.812 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2519, allocations: 142.3 MB / 1.223 GB, free: 89.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9965/1.248, allocations: 460.9 MB / 1.673 GB, free: 5.875 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/1.249, allocations: 75.02 kB / 1.673 GB, free: 5.836 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.138/2.387, allocations: 196.1 MB / 1.865 GB, free: 336 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.633e-06/2.387, allocations: 0 / 1.865 GB, free: 336 MB / 1.167 GB Notification: Performance of Transformations before backend: time 1.984e-05/2.387, allocations: 3.406 kB / 1.865 GB, free: 336 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.006411/2.393, allocations: 1.227 MB / 1.866 GB, free: 335.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/2.393, allocations: 13.61 kB / 1.866 GB, free: 335.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.291e-05/2.393, allocations: 56.75 kB / 1.866 GB, free: 335.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/2.395, allocations: 83.78 kB / 1.866 GB, free: 335.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/2.395, allocations: 228.1 kB / 1.866 GB, free: 335.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/2.395, allocations: 10.11 kB / 1.866 GB, free: 335.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/2.395, allocations: 14.72 kB / 1.866 GB, free: 335.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/2.396, allocations: 441.4 kB / 1.867 GB, free: 335 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/2.396, allocations: 8.906 kB / 1.867 GB, free: 335 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/2.396, allocations: 10 kB / 1.867 GB, free: 335 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/2.396, allocations: 3.844 kB / 1.867 GB, free: 335 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/2.398, allocations: 0.588 MB / 1.867 GB, free: 335 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/2.399, allocations: 0.9075 MB / 1.868 GB, free: 334.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007909/2.399, allocations: 238.5 kB / 1.868 GB, free: 334.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07376/2.473, allocations: 34.65 MB / 1.902 GB, free: 317.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/2.473, allocations: 46.14 kB / 1.902 GB, free: 317.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=25): time 2.004e-06/2.473, allocations: 0 / 1.902 GB, free: 317.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=25): time 0.001763/2.475, allocations: 398.1 kB / 1.903 GB, free: 317.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/2.475, allocations: 55.34 kB / 1.903 GB, free: 317.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/2.475, allocations: 140 kB / 1.903 GB, free: 317.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/2.475, allocations: 25.7 kB / 1.903 GB, free: 317.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/2.475, allocations: 106.4 kB / 1.903 GB, free: 317.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.111e-05/2.475, allocations: 85.47 kB / 1.903 GB, free: 317.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.966e-05/2.475, allocations: 6.812 kB / 1.903 GB, free: 317.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.253e-05/2.475, allocations: 322.4 kB / 1.903 GB, free: 317.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/2.476, allocations: 85.78 kB / 1.903 GB, free: 317.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/2.476, allocations: 129.2 kB / 1.904 GB, free: 317 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/2.476, allocations: 84.05 kB / 1.904 GB, free: 317 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/2.476, allocations: 7.953 kB / 1.904 GB, free: 317 MB / 1.167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006111/2.477, allocations: 299.8 kB / 1.904 GB, free: 317 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/2.477, allocations: 3.938 kB / 1.904 GB, free: 317 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/2.477, allocations: 3.938 kB / 1.904 GB, free: 317 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/2.477, allocations: 7.875 kB / 1.904 GB, free: 317 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/2.477, allocations: 78.77 kB / 1.904 GB, free: 317 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/2.477, allocations: 3.938 kB / 1.904 GB, free: 317 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/2.477, allocations: 23.27 kB / 1.904 GB, free: 317 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/2.477, allocations: 31.75 kB / 1.904 GB, free: 317 MB / 1.167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 0.0001274/2.477, allocations: 124.5 kB / 1.904 GB, free: 316.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/2.478, allocations: 19.73 kB / 1.904 GB, free: 316.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/2.48, allocations: 2.305 MB / 1.906 GB, free: 316.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/2.48, allocations: 11.62 kB / 1.906 GB, free: 316.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/2.48, allocations: 0 / 1.906 GB, free: 316.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/2.48, allocations: 3.844 kB / 1.906 GB, free: 316.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002754/2.482, allocations: 3.363 MB / 1.91 GB, free: 316.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/2.482, allocations: 0 / 1.91 GB, free: 316.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003183/2.483, allocations: 55.45 kB / 1.91 GB, free: 316.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/2.483, allocations: 1.125 kB / 1.91 GB, free: 316.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/2.483, allocations: 11.7 kB / 1.91 GB, free: 316.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/2.483, allocations: 3.938 kB / 1.91 GB, free: 316.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/2.483, allocations: 0 / 1.91 GB, free: 316.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006629/2.483, allocations: 0.5423 MB / 1.91 GB, free: 316 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/2.484, allocations: 154.7 kB / 1.91 GB, free: 315.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/2.484, allocations: 7.875 kB / 1.91 GB, free: 315.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/2.484, allocations: 21.58 kB / 1.91 GB, free: 315.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/2.484, allocations: 18.97 kB / 1.911 GB, free: 315.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/2.484, allocations: 11.48 kB / 1.911 GB, free: 315.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 6.171e-05/2.484, allocations: 105.7 kB / 1.911 GB, free: 315.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/2.484, allocations: 0 / 1.911 GB, free: 315.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007413/2.491, allocations: 1.668 MB / 1.912 GB, free: 315.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01453/2.506, allocations: 3.444 MB / 1.916 GB, free: 314.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0007282/2.507, allocations: 315.3 kB / 1.916 GB, free: 314.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/2.507, allocations: 3.906 kB / 1.916 GB, free: 314.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003221/2.507, allocations: 240.4 kB / 1.916 GB, free: 314.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/2.508, allocations: 58.97 kB / 1.916 GB, free: 314.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007217/2.515, allocations: 2.892 MB / 1.919 GB, free: 312.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/2.515, allocations: 0.7641 MB / 1.92 GB, free: 312.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0006914/2.516, allocations: 400.8 kB / 1.92 GB, free: 312 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/2.516, allocations: 99.53 kB / 1.92 GB, free: 312 MB / 1.167 GB Notification: Performance of SimCode: time 7.62e-07/2.516, allocations: 1.781 kB / 1.92 GB, free: 312 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08368/2.6, allocations: 49.42 MB / 1.969 GB, free: 309.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/2.6, allocations: 167.2 kB / 1.969 GB, free: 309 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.55/6.15, allocations: 0 / 1.969 GB, free: 309 MB / 1.167 GB (rm -f Buildings_9_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_SteamProperties.fmu > Buildings_9_Buildings.Media.Examples.SteamProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.SteamProperties_res.mat does not exist to compare? outputFormat=mat