Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_latest_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.001457/0.001457, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001963/0.001963, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.078/2.078, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.667/2.667, allocations: 409.2 MB / 0.6838 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004292/0.0004295, allocations: 8 kB / 0.8375 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.805/0.8055, allocations: 146.8 MB / 0.9809 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1304/0.936, allocations: 114.8 MB / 1.093 GB, free: 3.207 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02446/0.9605, allocations: 20.08 MB / 1.113 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.9607, allocations: 4 kB / 1.113 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.961, allocations: 35.8 kB / 1.113 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0002368/0.9612, allocations: 79.81 kB / 1.113 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.01699/0.9782, allocations: 5.314 MB / 1.118 GB, free: 9.68 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.000447/0.9787, allocations: 168.7 kB / 1.118 GB, free: 9.516 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 7.565e-05/0.9788, allocations: 9.562 kB / 1.118 GB, free: 9.504 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004192/0.9792, allocations: 123.6 kB / 1.118 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.9794, allocations: 71.75 kB / 1.118 GB, free: 9.312 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.9794, allocations: 11.94 kB / 1.118 GB, free: 9.301 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02397/1.003, allocations: 11.33 MB / 1.129 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/1.004, allocations: 39.89 kB / 1.129 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/1.004, allocations: 53.64 kB / 1.129 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00923/1.013, allocations: 4.3 MB / 1.134 GB, free: 9.555 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.013, allocations: 0 / 1.134 GB, free: 9.555 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.675e-06/1.013, allocations: 0 / 1.134 GB, free: 9.555 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.474e-06/1.013, allocations: 0 / 1.134 GB, free: 9.555 MB / 0.8887 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.00366/1.017, allocations: 1.166 MB / 1.135 GB, free: 8.34 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/1.017, allocations: 8.031 kB / 1.135 GB, free: 8.332 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.289e-05/1.017, allocations: 54.55 kB / 1.135 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/1.018, allocations: 87.69 kB / 1.135 GB, free: 8.184 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/1.018, allocations: 218.9 kB / 1.135 GB, free: 7.93 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/1.018, allocations: 12 kB / 1.135 GB, free: 7.918 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/1.018, allocations: 16 kB / 1.135 GB, free: 7.902 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/1.02, allocations: 448.2 kB / 1.136 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/1.02, allocations: 0 / 1.136 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/1.02, allocations: 16 kB / 1.136 GB, free: 7.43 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/1.02, allocations: 7.984 kB / 1.136 GB, free: 7.422 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/1.021, allocations: 0.6008 MB / 1.136 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/1.022, allocations: 0.9017 MB / 1.137 GB, free: 5.832 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007947/1.023, allocations: 243.8 kB / 1.137 GB, free: 5.586 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08966/1.112, allocations: 35.35 MB / 1.172 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/1.112, allocations: 42.45 kB / 1.172 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=25): time 1.913e-06/1.112, allocations: 0 / 1.172 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25): time 0.001697/1.114, allocations: 420.8 kB / 1.172 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/1.114, allocations: 55.41 kB / 1.172 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/1.114, allocations: 139.6 kB / 1.172 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/1.114, allocations: 25.7 kB / 1.172 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.445e-05/1.115, allocations: 116.3 kB / 1.173 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.76e-05/1.115, allocations: 90.73 kB / 1.173 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/1.115, allocations: 4 kB / 1.173 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.115, allocations: 322.8 kB / 1.173 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/1.115, allocations: 83.94 kB / 1.173 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/1.115, allocations: 125 kB / 1.173 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/1.115, allocations: 87.98 kB / 1.173 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.115, allocations: 0 / 1.173 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006992/1.116, allocations: 297.2 kB / 1.174 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/1.116, allocations: 11.95 kB / 1.174 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/1.116, allocations: 0 / 1.174 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/1.116, allocations: 8.156 kB / 1.174 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/1.116, allocations: 83.88 kB / 1.174 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/1.117, allocations: 7.984 kB / 1.174 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/1.117, allocations: 19.75 kB / 1.174 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/1.117, allocations: 27.97 kB / 1.174 GB, free: 13.14 MB / 0.9356 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.0001446/1.117, allocations: 133.7 kB / 1.174 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/1.117, allocations: 15.81 kB / 1.174 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/1.12, allocations: 2.343 MB / 1.176 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/1.12, allocations: 11.97 kB / 1.176 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/1.12, allocations: 7.938 kB / 1.176 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.12, allocations: 0 / 1.176 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003589/1.123, allocations: 3.42 MB / 1.179 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/1.123, allocations: 3.953 kB / 1.179 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/1.124, allocations: 59.88 kB / 1.18 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/1.124, allocations: 0 / 1.18 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/1.124, allocations: 8 kB / 1.18 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/1.124, allocations: 4 kB / 1.18 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.124, allocations: 4 kB / 1.18 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008805/1.125, allocations: 0.5458 MB / 1.18 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/1.125, allocations: 144.6 kB / 1.18 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/1.125, allocations: 8 kB / 1.18 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/1.125, allocations: 15.98 kB / 1.18 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/1.125, allocations: 15.98 kB / 1.18 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/1.125, allocations: 19.98 kB / 1.18 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.166e-05/1.125, allocations: 100.4 kB / 1.18 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.125, allocations: 3.938 kB / 1.18 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.004663/1.13, allocations: 1.694 MB / 1.182 GB, free: 4.422 MB / 0.9356 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.01007/1.14, allocations: 2.924 MB / 1.185 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006842/1.141, allocations: 316.3 kB / 1.185 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/1.141, allocations: 8.312 kB / 1.185 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003155/1.141, allocations: 236.5 kB / 1.185 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005211/1.142, allocations: 55.88 kB / 1.185 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005289/1.147, allocations: 2.806 MB / 1.188 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/1.147, allocations: 0.7742 MB / 1.189 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0005889/1.148, allocations: 412.9 kB / 1.189 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/1.148, allocations: 95.38 kB / 1.189 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of SimCode: time 9.72e-07/1.148, allocations: 0 / 1.189 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6008/1.749, allocations: 63.85 MB / 1.252 GB, free: 264.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/1.749, allocations: 171.3 kB / 1.252 GB, free: 264.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.372/8.121, allocations: 0 / 1.252 GB, free: 264.3 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamProperties.fmu > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat does not exist to compare? outputFormat=mat