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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007869/0.0007869, allocations: 91.12 kB / 15.06 MB, free: 1.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008099/0.00081, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.596/2.596, allocations: 390.4 MB / 0.6655 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004186/0.0004186, allocations: 8 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8385/0.839, allocations: 142.3 MB / 0.9538 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1702/1.009, allocations: 123.2 MB / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.04066/1.05, allocations: 21 MB / 1.095 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002285/1.05, allocations: 0 / 1.095 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003486/1.051, allocations: 43.73 kB / 1.095 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004295/1.051, allocations: 79.48 kB / 1.095 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.02134/1.072, allocations: 5.132 MB / 1.1 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005237/1.073, allocations: 267.9 kB / 1.1 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.069e-05/1.073, allocations: 13.56 kB / 1.1 GB, free: 10 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004257/1.073, allocations: 131.5 kB / 1.1 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/1.074, allocations: 87.66 kB / 1.1 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/1.074, allocations: 8 kB / 1.1 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02265/1.096, allocations: 10.47 MB / 1.111 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/1.097, allocations: 27.91 kB / 1.111 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/1.097, allocations: 57.64 kB / 1.111 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.009906/1.107, allocations: 4.085 MB / 1.115 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/1.107, allocations: 0 / 1.115 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of FrontEnd: time 6.913e-06/1.107, allocations: 0 / 1.115 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.13e-05/1.107, allocations: 3.938 kB / 1.115 GB, free: 11.11 MB / 0.8731 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.004106/1.111, allocations: 1.147 MB / 1.116 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/1.111, allocations: 8.031 kB / 1.116 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.149e-05/1.111, allocations: 58.55 kB / 1.116 GB, free: 9.84 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/1.112, allocations: 83.72 kB / 1.116 GB, free: 9.758 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/1.112, allocations: 230.8 kB / 1.116 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/1.113, allocations: 8 kB / 1.116 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.16e-05/1.113, allocations: 20 kB / 1.116 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/1.114, allocations: 452.5 kB / 1.117 GB, free: 9.004 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/1.114, allocations: 0 / 1.117 GB, free: 9.004 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/1.114, allocations: 12 kB / 1.117 GB, free: 8.992 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/1.114, allocations: 7.938 kB / 1.117 GB, free: 8.984 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/1.115, allocations: 0.5893 MB / 1.117 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/1.116, allocations: 0.8783 MB / 1.118 GB, free: 7.43 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007777/1.117, allocations: 258.2 kB / 1.118 GB, free: 7.168 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/1.117, allocations: 64.84 kB / 1.118 GB, free: 7.102 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08252/1.2, allocations: 35.33 MB / 1.153 GB, free: 0.6758 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.096e-05/1.2, allocations: 42.55 kB / 1.153 GB, free: 0.625 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=25): time 2.595e-06/1.2, allocations: 0 / 1.153 GB, free: 0.625 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25): time 0.001767/1.202, allocations: 427.8 kB / 1.153 GB, free: 208 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/1.202, allocations: 59.34 kB / 1.153 GB, free: 136 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/1.202, allocations: 143.4 kB / 1.153 GB, free: 15.98 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/1.202, allocations: 29.7 kB / 1.153 GB, free: 15.95 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/1.202, allocations: 112.3 kB / 1.154 GB, free: 15.83 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.262e-05/1.202, allocations: 86.73 kB / 1.154 GB, free: 15.75 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/1.202, allocations: 8 kB / 1.154 GB, free: 15.74 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.202, allocations: 318.8 kB / 1.154 GB, free: 15.42 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/1.202, allocations: 79.95 kB / 1.154 GB, free: 15.34 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/1.203, allocations: 129.1 kB / 1.154 GB, free: 15.2 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/1.203, allocations: 93 kB / 1.154 GB, free: 15.11 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.203, allocations: 4 kB / 1.154 GB, free: 15.1 MB / 0.92 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007518/1.204, allocations: 292.9 kB / 1.155 GB, free: 14.81 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/1.204, allocations: 17.95 kB / 1.155 GB, free: 14.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/1.204, allocations: 0 / 1.155 GB, free: 14.8 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/1.204, allocations: 4 kB / 1.155 GB, free: 14.79 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/1.204, allocations: 79.88 kB / 1.155 GB, free: 14.71 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.043e-05/1.204, allocations: 7.953 kB / 1.155 GB, free: 14.71 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/1.204, allocations: 19.75 kB / 1.155 GB, free: 14.69 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.997e-05/1.204, allocations: 23.98 kB / 1.155 GB, free: 14.66 MB / 0.92 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.0002005/1.205, allocations: 125.8 kB / 1.155 GB, free: 14.53 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/1.205, allocations: 27.83 kB / 1.155 GB, free: 14.5 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002802/1.208, allocations: 2.335 MB / 1.157 GB, free: 12.16 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.209e-05/1.208, allocations: 19.97 kB / 1.157 GB, free: 12.14 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.208, allocations: 0 / 1.157 GB, free: 12.14 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/1.208, allocations: 3.953 kB / 1.157 GB, free: 12.13 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003832/1.211, allocations: 3.416 MB / 1.16 GB, free: 8.613 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/1.212, allocations: 4 kB / 1.16 GB, free: 8.609 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/1.212, allocations: 55.89 kB / 1.161 GB, free: 8.555 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/1.212, allocations: 4 kB / 1.161 GB, free: 8.551 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/1.212, allocations: 15.94 kB / 1.161 GB, free: 8.535 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/1.212, allocations: 0 / 1.161 GB, free: 8.535 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.212, allocations: 0 / 1.161 GB, free: 8.535 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008268/1.213, allocations: 0.5398 MB / 1.161 GB, free: 7.98 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/1.213, allocations: 144.5 kB / 1.161 GB, free: 7.82 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/1.213, allocations: 4 kB / 1.161 GB, free: 7.816 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/1.213, allocations: 27.94 kB / 1.161 GB, free: 7.789 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/1.213, allocations: 19.97 kB / 1.161 GB, free: 7.77 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/1.213, allocations: 11.98 kB / 1.161 GB, free: 7.758 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001012/1.213, allocations: 103.3 kB / 1.161 GB, free: 7.656 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/1.213, allocations: 0 / 1.161 GB, free: 7.656 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00546/1.219, allocations: 1.628 MB / 1.163 GB, free: 6.027 MB / 0.92 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.01148/1.23, allocations: 2.866 MB / 1.166 GB, free: 3.129 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0007983/1.231, allocations: 324.4 kB / 1.166 GB, free: 2.812 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.231, allocations: 0 / 1.166 GB, free: 2.812 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003604/1.232, allocations: 244.5 kB / 1.166 GB, free: 2.574 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006425/1.232, allocations: 73.5 kB / 1.166 GB, free: 2.504 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006321/1.239, allocations: 2.039 MB / 1.168 GB, free: 412 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/1.239, allocations: 0.7625 MB / 1.169 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0006694/1.24, allocations: 405.2 kB / 1.17 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/1.24, allocations: 103.4 kB / 1.17 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of SimCode: time 1.533e-06/1.24, allocations: 4 kB / 1.17 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1151/1.355, allocations: 61.44 MB / 1.23 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/1.355, allocations: 164.9 kB / 1.23 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.085/7.44, allocations: 0 / 1.23 GB, free: 1.508 MB / 0.9825 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