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.001235/0.001235, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001364/0.001364, allocations: 168.7 kB / 15.95 MB, free: 204 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.477/1.477, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.649/2.649, allocations: 409.4 MB / 0.684 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003514, allocations: 12 kB / 0.8378 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8965/0.8969, allocations: 146.8 MB / 0.9811 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.164/1.061, allocations: 122.5 MB / 1.101 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000223/1.061, allocations: 47.89 kB / 1.101 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/1.061, allocations: 0 / 1.101 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001395/1.061, allocations: 3.938 kB / 1.101 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/1.062, allocations: 19.92 kB / 1.101 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/1.063, allocations: 179.2 kB / 1.101 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/1.063, allocations: 47.83 kB / 1.101 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/1.063, allocations: 4 kB / 1.101 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.043e-05/1.063, allocations: 15.97 kB / 1.101 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.899e-05/1.063, allocations: 15.94 kB / 1.101 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/1.063, allocations: 0 / 1.101 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004832/1.063, allocations: 159.6 kB / 1.101 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.737e-05/1.064, allocations: 11.98 kB / 1.101 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.994e-05/1.064, allocations: 25.7 kB / 1.101 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002719/1.064, allocations: 98.09 kB / 1.101 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/1.064, allocations: 0 / 1.101 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/1.064, allocations: 3.938 kB / 1.101 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.148e-06/1.064, allocations: 0 / 1.101 GB, free: 10.77 MB / 0.8575 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.0005794/1.064, allocations: 351.3 kB / 1.102 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.818e-05/1.065, allocations: 12.03 kB / 1.102 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.614e-05/1.065, allocations: 38.55 kB / 1.102 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/1.065, allocations: 0 / 1.102 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/1.065, allocations: 163 kB / 1.102 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-05/1.065, allocations: 29.7 kB / 1.102 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/1.065, allocations: 3.953 kB / 1.102 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/1.065, allocations: 45.69 kB / 1.102 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/1.065, allocations: 0 / 1.102 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/1.065, allocations: 0 / 1.102 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/1.065, allocations: 8 kB / 1.102 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.716e-05/1.065, allocations: 15.98 kB / 1.102 GB, free: 10 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000853/1.066, allocations: 0.5989 MB / 1.103 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.316e-05/1.066, allocations: 22.5 kB / 1.103 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.189e-05/1.066, allocations: 12.91 kB / 1.103 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002222/1.066, allocations: 336.4 kB / 1.103 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/1.066, allocations: 34.55 kB / 1.103 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/1.066, allocations: 3.938 kB / 1.103 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.000161/1.067, allocations: 41.55 kB / 1.103 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/1.067, allocations: 51.41 kB / 1.103 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.754e-05/1.067, allocations: 105.8 kB / 1.103 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/1.067, allocations: 25.7 kB / 1.103 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/1.067, allocations: 88.17 kB / 1.103 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.738e-06/1.067, allocations: 3.938 kB / 1.103 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/1.067, allocations: 7.938 kB / 1.103 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.067, allocations: 314.8 kB / 1.104 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.403e-05/1.067, allocations: 3.984 kB / 1.104 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.209e-05/1.067, allocations: 13.72 kB / 1.104 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.721e-05/1.067, allocations: 11.95 kB / 1.104 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.067, allocations: 4 kB / 1.104 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.67e-05/1.067, allocations: 49.62 kB / 1.104 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/1.067, allocations: 8 kB / 1.104 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.067, allocations: 0 / 1.104 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/1.067, allocations: 0 / 1.104 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.458e-05/1.067, allocations: 4 kB / 1.104 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/1.067, allocations: 4 kB / 1.104 GB, free: 8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.13e-05/1.067, allocations: 3.984 kB / 1.104 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/1.067, allocations: 0 / 1.104 GB, free: 7.996 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.616e-05/1.067, allocations: 117.9 kB / 1.104 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/1.068, allocations: 3.906 kB / 1.104 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/1.068, allocations: 120.9 kB / 1.104 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.772e-05/1.068, allocations: 180.2 kB / 1.104 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-05/1.068, allocations: 180.2 kB / 1.104 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.184e-05/1.068, allocations: 184.3 kB / 1.104 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/1.068, allocations: 409.2 kB / 1.105 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.413e-05/1.068, allocations: 108.9 kB / 1.105 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.675e-05/1.068, allocations: 101 kB / 1.105 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.088e-05/1.068, allocations: 180.2 kB / 1.105 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.766e-05/1.068, allocations: 180.2 kB / 1.105 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.327e-05/1.069, allocations: 192.2 kB / 1.106 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.086e-05/1.069, allocations: 176.3 kB / 1.106 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/1.069, allocations: 303.8 kB / 1.106 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/1.069, allocations: 186 kB / 1.106 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/1.069, allocations: 188.2 kB / 1.106 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/1.069, allocations: 109 kB / 1.107 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.611e-05/1.069, allocations: 176.3 kB / 1.107 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.514e-05/1.069, allocations: 104.9 kB / 1.107 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.81e-05/1.069, allocations: 91.27 kB / 1.107 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/1.07, allocations: 0 / 1.107 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003821/1.07, allocations: 59.88 kB / 1.107 GB, free: 4.496 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.0006883/1.071, allocations: 0.8828 MB / 1.108 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.519e-05/1.071, allocations: 7.938 kB / 1.108 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.071, allocations: 0 / 1.108 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.16e-06/1.071, allocations: 3.984 kB / 1.108 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004995/1.071, allocations: 0.5265 MB / 1.108 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005414/1.072, allocations: 245.7 kB / 1.109 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/1.072, allocations: 0.677 MB / 1.109 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.174e-05/1.072, allocations: 4.281 kB / 1.109 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/1.072, allocations: 15.42 kB / 1.109 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of SimCode: time 1.738e-05/1.072, allocations: 4 kB / 1.109 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01396/1.086, allocations: 1.953 MB / 1.111 GB, free: 240 kB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/1.086, allocations: 200.3 kB / 1.111 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.881, allocations: 0 / 1.111 GB, free: 15.99 MB / 0.8731 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