Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.553/2.553, allocations: 387.4 MB / 394.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 188.8 kB / 487.4 MB, free: 5.023 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.666/1.666, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009467/0.0009466, allocations: 107.8 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.97e-05/1.973e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2709, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.084/4.355, allocations: 1.71 GB / 2.917 GB, free: 147.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/4.355, allocations: 74.66 kB / 2.917 GB, free: 147 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.06689/4.422, allocations: 36.68 MB / 2.952 GB, free: 116.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.703e-06/4.422, allocations: 0 / 2.952 GB, free: 116.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.402e-06/4.422, allocations: 0 / 2.952 GB, free: 116.9 MB / 1.151 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.000274/4.423, allocations: 355.3 kB / 2.953 GB, free: 116.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/4.423, allocations: 16.03 kB / 2.953 GB, free: 116.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/4.423, allocations: 20.75 kB / 2.953 GB, free: 116.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.923e-05/4.423, allocations: 163.1 kB / 2.953 GB, free: 116.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.295e-05/4.423, allocations: 25.7 kB / 2.953 GB, free: 116.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/4.423, allocations: 0 / 2.953 GB, free: 116.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.7e-05/4.423, allocations: 23.98 kB / 2.953 GB, free: 116.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.884e-05/4.423, allocations: 49.67 kB / 2.953 GB, free: 116.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/4.423, allocations: 3.938 kB / 2.953 GB, free: 116.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/4.423, allocations: 7.953 kB / 2.953 GB, free: 116.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/4.423, allocations: 4 kB / 2.953 GB, free: 116.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/4.424, allocations: 326.5 kB / 2.953 GB, free: 115.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 3.119e-05/4.424, allocations: 18.58 kB / 2.953 GB, free: 115.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.533e-05/4.424, allocations: 8.797 kB / 2.953 GB, free: 115.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.37e-06/4.424, allocations: 4 kB / 2.953 GB, free: 115.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/4.424, allocations: 38.58 kB / 2.953 GB, free: 115.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/4.424, allocations: 3.938 kB / 2.953 GB, free: 115.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=1): time 0.0001887/4.424, allocations: 41.62 kB / 2.953 GB, free: 115.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.785e-05/4.424, allocations: 51.41 kB / 2.954 GB, free: 115.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.278e-05/4.424, allocations: 101 kB / 2.954 GB, free: 115.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/4.424, allocations: 25.7 kB / 2.954 GB, free: 115.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 2.902e-05/4.424, allocations: 92.08 kB / 2.954 GB, free: 115.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.509e-06/4.424, allocations: 7.844 kB / 2.954 GB, free: 115.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/4.424, allocations: 0 / 2.954 GB, free: 115.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.641e-05/4.424, allocations: 314.8 kB / 2.954 GB, free: 115 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/4.424, allocations: 0 / 2.954 GB, free: 115 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.027e-05/4.424, allocations: 26.56 kB / 2.954 GB, free: 115 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.863e-05/4.424, allocations: 12 kB / 2.954 GB, free: 115 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/4.424, allocations: 0 / 2.954 GB, free: 115 MB / 1.151 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.242e-05/4.424, allocations: 49.62 kB / 2.954 GB, free: 114.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/4.424, allocations: 8 kB / 2.954 GB, free: 114.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/4.424, allocations: 0 / 2.954 GB, free: 114.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/4.424, allocations: 3.953 kB / 2.954 GB, free: 114.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.555e-05/4.425, allocations: 8 kB / 2.954 GB, free: 114.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/4.425, allocations: 0 / 2.954 GB, free: 114.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.614e-05/4.425, allocations: 4.094 kB / 2.954 GB, free: 114.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/4.425, allocations: 4 kB / 2.954 GB, free: 114.9 MB / 1.151 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 () * 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 4.504e-05/4.425, allocations: 104.9 kB / 2.954 GB, free: 114.8 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.86e-05/4.425, allocations: 37.59 kB / 2.954 GB, free: 114.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/4.425, allocations: 7.953 kB / 2.954 GB, free: 114.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.557e-05/4.425, allocations: 3.75 kB / 2.954 GB, free: 114.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.61e-07/4.425, allocations: 0 / 2.954 GB, free: 114.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/4.425, allocations: 0 / 2.954 GB, free: 114.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/4.425, allocations: 0 / 2.954 GB, free: 114.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/4.425, allocations: 331.3 kB / 2.955 GB, free: 114.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/4.425, allocations: 0 / 2.955 GB, free: 114.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.387e-05/4.425, allocations: 7.953 kB / 2.955 GB, free: 114.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/4.425, allocations: 0 / 2.955 GB, free: 114.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/4.425, allocations: 3.938 kB / 2.955 GB, free: 114.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/4.425, allocations: 0 / 2.955 GB, free: 114.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/4.425, allocations: 0 / 2.955 GB, free: 114.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.027e-05/4.425, allocations: 61.17 kB / 2.955 GB, free: 114.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/4.425, allocations: 85.25 kB / 2.955 GB, free: 114.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/4.425, allocations: 3.953 kB / 2.955 GB, free: 114.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.322e-05/4.425, allocations: 8 kB / 2.955 GB, free: 114.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.438e-06/4.425, allocations: 0 / 2.955 GB, free: 114.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-06/4.425, allocations: 0 / 2.955 GB, free: 114.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 2.219e-05/4.425, allocations: 79.28 kB / 2.955 GB, free: 114.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/4.425, allocations: 3.938 kB / 2.955 GB, free: 114.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0002381/4.425, allocations: 40.02 kB / 2.955 GB, free: 114.1 MB / 1.151 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 () * 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.000734/4.426, allocations: 1.134 MB / 2.956 GB, free: 112.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 6.604e-05/4.426, allocations: 12 kB / 2.956 GB, free: 112.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/4.426, allocations: 0 / 2.956 GB, free: 112.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 5.991e-06/4.426, allocations: 11.92 kB / 2.956 GB, free: 112.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/4.426, allocations: 256 / 2.956 GB, free: 112.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002348/4.427, allocations: 94.09 kB / 2.956 GB, free: 112.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/4.427, allocations: 0.6768 MB / 2.957 GB, free: 112 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 5.155e-05/4.427, allocations: 4 kB / 2.957 GB, free: 112 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/4.427, allocations: 7.438 kB / 2.957 GB, free: 112 MB / 1.151 GB Notification: Performance of SimCode: time 2.4e-07/4.427, allocations: 0 / 2.957 GB, free: 112 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/4.451, allocations: 5.274 MB / 2.962 GB, free: 106.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/4.452, allocations: 141.9 kB / 2.962 GB, free: 106.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/6.08, allocations: 7.938 kB / 2.962 GB, free: 106.6 MB / 1.151 GB (rm -f Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat