Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",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.001041/0.001041, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001244/0.001244, allocations: 168.7 kB / 15.95 MB, free: 200 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.386/1.386, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.617/2.617, allocations: 409.4 MB / 0.684 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003838, allocations: 8 kB / 0.8378 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8022/0.8026, allocations: 146.8 MB / 0.9811 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1657/0.9684, allocations: 134.5 MB / 1.112 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0001708/0.9686, allocations: 55.88 kB / 1.112 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.045e-05/0.9687, allocations: 0 / 1.112 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.9688, allocations: 3.938 kB / 1.112 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 9.393e-05/0.9689, allocations: 15.97 kB / 1.112 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008339/0.9698, allocations: 146.7 kB / 1.113 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.9699, allocations: 51.88 kB / 1.113 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.9699, allocations: 0 / 1.113 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 4.303e-05/0.97, allocations: 19.92 kB / 1.113 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 7.737e-05/0.9701, allocations: 7.984 kB / 1.113 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.9701, allocations: 4 kB / 1.113 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003298/0.9704, allocations: 103.6 kB / 1.113 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.9705, allocations: 7.984 kB / 1.113 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.9705, allocations: 29.7 kB / 1.113 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.9707, allocations: 54.19 kB / 1.113 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.9707, allocations: 0 / 1.113 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9707, allocations: 4 kB / 1.113 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.9707, allocations: 0 / 1.113 GB, free: 14.96 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000404/0.9711, allocations: 339.3 kB / 1.113 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.9712, allocations: 12.03 kB / 1.113 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.9712, allocations: 34.55 kB / 1.113 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003315/0.9715, allocations: 19.97 kB / 1.113 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.9717, allocations: 167 kB / 1.113 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.23e-05/0.9717, allocations: 33.66 kB / 1.113 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.9718, allocations: 4 kB / 1.113 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.9719, allocations: 53.61 kB / 1.114 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.9719, allocations: 0 / 1.114 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.972, allocations: 8 kB / 1.114 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.972, allocations: 0 / 1.114 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.649e-05/0.972, allocations: 19.98 kB / 1.114 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.9724, allocations: 256.8 kB / 1.114 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 4.971e-05/0.9725, allocations: 26.67 kB / 1.114 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.966e-05/0.9725, allocations: 8.859 kB / 1.114 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001793/0.9727, allocations: 101.1 kB / 1.114 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.9727, allocations: 30.56 kB / 1.114 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.9727, allocations: 0 / 1.114 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2): time 0.0002537/0.973, allocations: 61.53 kB / 1.114 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.973, allocations: 51.41 kB / 1.114 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.193e-05/0.9731, allocations: 101.8 kB / 1.114 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.9732, allocations: 25.7 kB / 1.114 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.35e-05/0.9732, allocations: 91.98 kB / 1.114 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.965e-06/0.9732, allocations: 3.906 kB / 1.114 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.9733, allocations: 0 / 1.114 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.9734, allocations: 322.9 kB / 1.115 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.9734, allocations: 7.984 kB / 1.115 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.858e-05/0.9734, allocations: 18.58 kB / 1.115 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.526e-05/0.9734, allocations: 8 kB / 1.115 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9735, allocations: 4 kB / 1.115 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.349e-05/0.9735, allocations: 57.66 kB / 1.115 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.9736, allocations: 4 kB / 1.115 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.9736, allocations: 0 / 1.115 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.9736, allocations: 0 / 1.115 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.917e-05/0.9737, allocations: 11.94 kB / 1.115 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.9737, allocations: 7.922 kB / 1.115 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.651e-05/0.9737, allocations: 0 / 1.115 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.9737, allocations: 4 kB / 1.115 GB, free: 12.84 MB / 0.8731 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 8.956e-05/0.9738, allocations: 117.8 kB / 1.115 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.9739, allocations: 4.062 kB / 1.115 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.245e-05/0.9739, allocations: 3.125 kB / 1.115 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.9739, allocations: 0 / 1.115 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.9739, allocations: 3.938 kB / 1.115 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.9739, allocations: 4 kB / 1.115 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.9742, allocations: 367.4 kB / 1.115 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.9742, allocations: 0 / 1.115 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.515e-05/0.9743, allocations: 4 kB / 1.115 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.9743, allocations: 4.062 kB / 1.115 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.9743, allocations: 0 / 1.115 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.9743, allocations: 0 / 1.115 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.9743, allocations: 4 kB / 1.115 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.331e-05/0.9744, allocations: 73.88 kB / 1.115 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.347e-05/0.9744, allocations: 77.11 kB / 1.115 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.9745, allocations: 12.03 kB / 1.115 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.029e-05/0.9745, allocations: 7.984 kB / 1.115 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.632e-05/0.9746, allocations: 0 / 1.115 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.9746, allocations: 0 / 1.115 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.853e-05/0.9746, allocations: 79.28 kB / 1.115 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9746, allocations: 0 / 1.115 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0001938/0.9748, allocations: 8 kB / 1.115 GB, free: 11.98 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0003878/0.9752, allocations: 0.6132 MB / 1.116 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.539e-05/0.9753, allocations: 15.98 kB / 1.116 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.9753, allocations: 0 / 1.116 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.336e-05/0.9753, allocations: 12.16 kB / 1.116 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.9756, allocations: 9.312 kB / 1.116 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/0.976, allocations: 163 kB / 1.116 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.9762, allocations: 0.677 MB / 1.117 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.503e-05/0.9763, allocations: 12.53 kB / 1.117 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.9763, allocations: 11.38 kB / 1.117 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.9763, allocations: 4 kB / 1.117 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0113/0.9876, allocations: 1.247 MB / 1.118 GB, free: 9.266 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/0.9879, allocations: 196.1 kB / 1.118 GB, free: 9.027 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.708, allocations: 0 / 1.118 GB, free: 9.027 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat