Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.001161/0.001161, allocations: 99.7 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.00128/0.00128, 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.456/1.456, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.522/2.522, allocations: 409.2 MB / 0.6838 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005042/0.0005043, allocations: 8 kB / 0.8375 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.019, allocations: 146.8 MB / 0.9809 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.224/1.243, allocations: 124.9 MB / 1.103 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000327/1.244, allocations: 139.7 kB / 1.103 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.689e-05/1.244, allocations: 0 / 1.103 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001511/1.244, allocations: 7.938 kB / 1.103 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.06e-05/1.244, allocations: 7.984 kB / 1.103 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000532/1.244, allocations: 86.48 kB / 1.103 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.876e-05/1.244, allocations: 19.97 kB / 1.103 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.1e-05/1.244, allocations: 3.984 kB / 1.103 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.412e-05/1.245, allocations: 11.94 kB / 1.103 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.412e-05/1.245, allocations: 11.92 kB / 1.103 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/1.245, allocations: 0 / 1.103 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002753/1.245, allocations: 51.89 kB / 1.103 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.561e-05/1.245, allocations: 4 kB / 1.103 GB, free: 8.676 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/1.245, allocations: 29.7 kB / 1.103 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/1.245, allocations: 34.2 kB / 1.103 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/1.245, allocations: 7.938 kB / 1.103 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.144e-06/1.245, allocations: 0 / 1.103 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.296e-06/1.245, allocations: 0 / 1.103 GB, free: 8.602 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005092/1.246, allocations: 339.3 kB / 1.104 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.311e-05/1.246, allocations: 8.031 kB / 1.104 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.737e-05/1.246, allocations: 30.56 kB / 1.104 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003454/1.246, allocations: 15.98 kB / 1.104 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/1.246, allocations: 167.1 kB / 1.104 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-05/1.247, allocations: 33.64 kB / 1.104 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/1.247, allocations: 0 / 1.104 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/1.247, allocations: 49.62 kB / 1.104 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/1.247, allocations: 0 / 1.104 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/1.247, allocations: 0 / 1.104 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/1.247, allocations: 4 kB / 1.104 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.542e-05/1.247, allocations: 15.98 kB / 1.104 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005177/1.247, allocations: 264.8 kB / 1.104 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.171e-05/1.248, allocations: 22.52 kB / 1.104 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.062e-06/1.248, allocations: 0 / 1.104 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/1.248, allocations: 30.56 kB / 1.104 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/1.248, allocations: 0 / 1.104 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0002039/1.248, allocations: 45.75 kB / 1.104 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/1.248, allocations: 51.41 kB / 1.104 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/1.248, allocations: 105.8 kB / 1.104 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/1.248, allocations: 25.7 kB / 1.104 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.3e-05/1.248, allocations: 87.98 kB / 1.104 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.304e-05/1.248, allocations: 7.906 kB / 1.104 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/1.248, allocations: 0 / 1.104 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.248, allocations: 322.7 kB / 1.105 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.231e-05/1.248, allocations: 4.109 kB / 1.105 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.321e-05/1.248, allocations: 30.58 kB / 1.105 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.106e-05/1.248, allocations: 4 kB / 1.105 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/1.248, allocations: 0 / 1.105 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001176/1.249, allocations: 57.56 kB / 1.105 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/1.249, allocations: 4 kB / 1.105 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/1.249, allocations: 8.094 kB / 1.105 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/1.249, allocations: 4.031 kB / 1.105 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.953e-05/1.249, allocations: 4 kB / 1.105 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/1.249, allocations: 7.984 kB / 1.105 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.252e-05/1.249, allocations: 7.984 kB / 1.105 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/1.249, allocations: 0 / 1.105 GB, free: 6.641 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0001112/1.249, allocations: 117.7 kB / 1.105 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/1.249, allocations: 0 / 1.105 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/1.249, allocations: 7.125 kB / 1.105 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/1.249, allocations: 4 kB / 1.105 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.249, allocations: 0 / 1.105 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/1.249, allocations: 0 / 1.105 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003647/1.249, allocations: 358.6 kB / 1.105 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.249, allocations: 0 / 1.105 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.767e-05/1.249, allocations: 0 / 1.105 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.249, allocations: 4 kB / 1.105 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/1.249, allocations: 4 kB / 1.105 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/1.25, allocations: 0 / 1.105 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.25, allocations: 4.031 kB / 1.105 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/1.25, allocations: 65.02 kB / 1.105 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.321e-05/1.25, allocations: 77.11 kB / 1.106 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/1.25, allocations: 0 / 1.106 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/1.25, allocations: 8 kB / 1.106 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/1.25, allocations: 0 / 1.106 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/1.25, allocations: 32 / 1.106 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.064e-05/1.25, allocations: 87.27 kB / 1.106 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.21e-07/1.25, allocations: 0 / 1.106 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003045/1.25, allocations: 8 kB / 1.106 GB, free: 5.812 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 (1): * Single equations (assignments): 1 * 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.0004176/1.251, allocations: 0.5968 MB / 1.106 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.642e-05/1.251, allocations: 16.03 kB / 1.106 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.251, allocations: 0 / 1.106 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.788e-06/1.251, allocations: 4 kB / 1.106 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/1.251, allocations: 5.359 kB / 1.106 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004822/1.252, allocations: 162.2 kB / 1.106 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/1.252, allocations: 0.685 MB / 1.107 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.736e-05/1.252, allocations: 4 kB / 1.107 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/1.252, allocations: 11.44 kB / 1.107 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of SimCode: time 3.71e-07/1.252, allocations: 0 / 1.107 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0322/1.284, allocations: 1.143 MB / 1.108 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003152/1.285, allocations: 220.4 kB / 1.108 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.137/3.422, allocations: 1.719 kB / 1.108 GB, free: 3.059 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat