Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",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.001394/0.001394, allocations: 99.86 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.001938/0.001938, allocations: 177.3 kB / 15.94 MB, free: 228 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.625/1.625, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.497/2.497, allocations: 409.2 MB / 0.6838 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005748/0.0005749, allocations: 8 kB / 0.8375 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8872/0.8878, allocations: 146.8 MB / 0.9809 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1811/1.069, allocations: 114.3 MB / 1.092 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006722/1.07, allocations: 483 kB / 1.093 GB, free: 3.238 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/1.07, allocations: 0 / 1.093 GB, free: 3.238 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000151/1.07, allocations: 4 kB / 1.093 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.735e-05/1.07, allocations: 7.969 kB / 1.093 GB, free: 3.227 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008167/1.071, allocations: 198 kB / 1.093 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.112e-05/1.071, allocations: 15.98 kB / 1.093 GB, free: 3.02 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.028e-05/1.071, allocations: 3.984 kB / 1.093 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.058e-05/1.071, allocations: 11.98 kB / 1.093 GB, free: 3.004 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.14e-05/1.071, allocations: 11.94 kB / 1.093 GB, free: 2.992 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/1.071, allocations: 4 kB / 1.093 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004748/1.071, allocations: 175.7 kB / 1.093 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.541e-05/1.072, allocations: 4 kB / 1.093 GB, free: 2.812 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/1.072, allocations: 29.7 kB / 1.093 GB, free: 2.777 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000287/1.072, allocations: 94.09 kB / 1.093 GB, free: 2.688 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.072, allocations: 4 kB / 1.093 GB, free: 2.684 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.838e-06/1.072, allocations: 0 / 1.093 GB, free: 2.684 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.608e-06/1.072, allocations: 0 / 1.093 GB, free: 2.684 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006515/1.073, allocations: 363.1 kB / 1.094 GB, free: 2.281 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.406e-05/1.073, allocations: 8.031 kB / 1.094 GB, free: 2.273 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.924e-05/1.073, allocations: 34.55 kB / 1.094 GB, free: 2.23 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.044e-05/1.073, allocations: 4 kB / 1.094 GB, free: 2.227 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/1.073, allocations: 163.1 kB / 1.094 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.916e-05/1.073, allocations: 29.64 kB / 1.094 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/1.073, allocations: 7.953 kB / 1.094 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/1.073, allocations: 41.69 kB / 1.094 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/1.073, allocations: 4 kB / 1.094 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/1.073, allocations: 0 / 1.094 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-05/1.073, allocations: 0 / 1.094 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.881e-05/1.073, allocations: 23.92 kB / 1.094 GB, free: 1.91 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/1.075, allocations: 0.5911 MB / 1.095 GB, free: 1.195 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.586e-05/1.075, allocations: 22.58 kB / 1.095 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002937/1.075, allocations: 332.5 kB / 1.095 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/1.075, allocations: 30.56 kB / 1.095 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.031e-06/1.075, allocations: 0 / 1.095 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0002087/1.075, allocations: 41.55 kB / 1.095 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/1.075, allocations: 51.41 kB / 1.095 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/1.075, allocations: 101.8 kB / 1.095 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/1.075, allocations: 29.7 kB / 1.095 GB, free: 484 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.23e-05/1.076, allocations: 92.17 kB / 1.095 GB, free: 388 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.636e-06/1.076, allocations: 3.938 kB / 1.095 GB, free: 384 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/1.076, allocations: 0 / 1.095 GB, free: 384 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001673/1.076, allocations: 310.8 kB / 1.096 GB, free: 64 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/1.076, allocations: 7.984 kB / 1.096 GB, free: 56 kB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.022e-05/1.076, allocations: 17.72 kB / 1.096 GB, free: 32 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.214e-05/1.076, allocations: 4 kB / 1.096 GB, free: 28 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/1.076, allocations: 7.953 kB / 1.096 GB, free: 20 kB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000117/1.076, allocations: 49.62 kB / 1.096 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/1.076, allocations: 8 kB / 1.096 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.076, allocations: 0 / 1.096 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/1.076, allocations: 7.938 kB / 1.096 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.507e-05/1.076, allocations: 4 kB / 1.096 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/1.076, allocations: 3.984 kB / 1.096 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.439e-05/1.076, allocations: 4 kB / 1.096 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/1.076, allocations: 0 / 1.096 GB, free: 15.94 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 9.752e-05/1.076, allocations: 117.8 kB / 1.096 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/1.076, allocations: 7.859 kB / 1.096 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/1.076, allocations: 121 kB / 1.096 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.684e-05/1.077, allocations: 176.3 kB / 1.096 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.63e-05/1.077, allocations: 180.2 kB / 1.096 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.987e-05/1.077, allocations: 180.3 kB / 1.097 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/1.077, allocations: 409.2 kB / 1.097 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.301e-05/1.077, allocations: 101 kB / 1.097 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.122e-05/1.077, allocations: 108.9 kB / 1.097 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.122e-05/1.077, allocations: 188.2 kB / 1.097 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.652e-05/1.077, allocations: 184.2 kB / 1.097 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.416e-05/1.077, allocations: 184.2 kB / 1.098 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.536e-05/1.077, allocations: 180.3 kB / 1.098 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/1.078, allocations: 307.8 kB / 1.098 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.752e-05/1.078, allocations: 178.4 kB / 1.098 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.876e-05/1.078, allocations: 192.2 kB / 1.098 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/1.078, allocations: 105 kB / 1.099 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.46e-05/1.078, allocations: 188.2 kB / 1.099 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/1.078, allocations: 105 kB / 1.099 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.932e-05/1.078, allocations: 83.27 kB / 1.099 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.078, allocations: 0 / 1.099 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003276/1.078, allocations: 59.94 kB / 1.099 GB, free: 12.43 MB / 0.8575 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0006347/1.079, allocations: 0.8752 MB / 1.1 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.787e-05/1.079, allocations: 11.98 kB / 1.1 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.079, allocations: 3.938 kB / 1.1 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/1.079, allocations: 0 / 1.1 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/1.08, allocations: 0.5315 MB / 1.1 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004645/1.08, allocations: 237.4 kB / 1.101 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/1.08, allocations: 0.677 MB / 1.101 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.218e-05/1.08, allocations: 11.92 kB / 1.101 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/1.08, allocations: 15.44 kB / 1.101 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/1.08, allocations: 4 kB / 1.101 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0131/1.094, allocations: 1.925 MB / 1.103 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/1.094, allocations: 205.6 kB / 1.103 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/2.846, allocations: 0 / 1.103 GB, free: 7.945 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat