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/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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009189/0.0009194, 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.0009993/0.0009993, 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.387/1.387, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.42/2.42, allocations: 390.3 MB / 0.6653 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004499/0.0004501, allocations: 8 kB / 0.8146 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8002/0.8007, allocations: 142.3 MB / 0.9536 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.156/0.9567, allocations: 125.3 MB / 1.076 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002448/0.957, allocations: 131.7 kB / 1.076 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.9571, allocations: 0 / 1.076 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.9572, allocations: 3.984 kB / 1.076 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.685e-05/0.9572, allocations: 3.984 kB / 1.076 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006393/0.9579, allocations: 154.6 kB / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.165e-05/0.958, allocations: 23.91 kB / 1.076 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.958, allocations: 0 / 1.076 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.325e-05/0.9581, allocations: 11.98 kB / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.876e-05/0.9581, allocations: 7.984 kB / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.9581, allocations: 4 kB / 1.076 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003389/0.9585, allocations: 111.8 kB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.118e-05/0.9585, allocations: 4 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.9586, allocations: 29.7 kB / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.9587, allocations: 50.19 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.9587, allocations: 0 / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9587, allocations: 3.938 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.9588, allocations: 0 / 1.076 GB, free: 2.066 MB / 0.8262 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.000391/0.9591, allocations: 341.3 kB / 1.077 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.9592, allocations: 8.031 kB / 1.077 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.444e-05/0.9592, allocations: 34.56 kB / 1.077 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003417/0.9596, allocations: 23.97 kB / 1.077 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.9597, allocations: 167 kB / 1.077 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.105e-05/0.9598, allocations: 29.69 kB / 1.077 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-06/0.9598, allocations: 0 / 1.077 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.96, allocations: 49.64 kB / 1.077 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.96, allocations: 0 / 1.077 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.96, allocations: 4 kB / 1.077 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.96, allocations: 0 / 1.077 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.571e-05/0.9601, allocations: 23.98 kB / 1.077 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.9605, allocations: 260.9 kB / 1.077 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.26e-05/0.9606, allocations: 30.53 kB / 1.077 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.9606, allocations: 0 / 1.077 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.9606, allocations: 34.62 kB / 1.077 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.9606, allocations: 4 kB / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003097/0.961, allocations: 61.52 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.961, allocations: 51.41 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.52e-05/0.9611, allocations: 105.8 kB / 1.078 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.9611, allocations: 25.7 kB / 1.078 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/0.9612, allocations: 91.97 kB / 1.078 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.736e-06/0.9612, allocations: 11.94 kB / 1.078 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.9612, allocations: 0 / 1.078 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.9613, allocations: 315 kB / 1.078 GB, free: 212 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.9e-05/0.9614, allocations: 4 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.025e-05/0.9614, allocations: 21.7 kB / 1.078 GB, free: 180 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.519e-05/0.9614, allocations: 12 kB / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.9614, allocations: 0 / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.505e-05/0.9615, allocations: 65.42 kB / 1.078 GB, free: 96 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.9616, allocations: 7.984 kB / 1.078 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.9616, allocations: 4.031 kB / 1.078 GB, free: 84 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.9616, allocations: 4 kB / 1.078 GB, free: 80 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.164e-05/0.9617, allocations: 4 kB / 1.078 GB, free: 76 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.9617, allocations: 0 / 1.078 GB, free: 76 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/0.9617, allocations: 0 / 1.078 GB, free: 76 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.9617, allocations: 4 kB / 1.078 GB, free: 72 kB / 0.8262 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 (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 9.864e-05/0.9618, allocations: 109.8 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.9618, allocations: 7.953 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.117e-05/0.9619, allocations: 3.125 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.9619, allocations: 7.984 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.9619, allocations: 3.938 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.9619, allocations: 0 / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.9622, allocations: 367.6 kB / 1.079 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9622, allocations: 0 / 1.079 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.079e-05/0.9623, allocations: 7.938 kB / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.9623, allocations: 0 / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.9623, allocations: 4 kB / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.9623, allocations: 4.062 kB / 1.079 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.9623, allocations: 0 / 1.079 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.9624, allocations: 91.56 kB / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.9625, allocations: 81.11 kB / 1.079 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.9625, allocations: 0 / 1.079 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-05/0.9626, allocations: 12.02 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.9626, allocations: 0 / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.9626, allocations: 0 / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.352e-05/0.9627, allocations: 79.28 kB / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.703e-06/0.9627, allocations: 0 / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001905/0.9629, allocations: 15.94 kB / 1.079 GB, free: 15.17 MB / 0.8419 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.0003985/0.9633, allocations: 0.6915 MB / 1.08 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.958e-05/0.9634, allocations: 19.94 kB / 1.08 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9634, allocations: 0 / 1.08 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.544e-05/0.9634, allocations: 16.08 kB / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.9636, allocations: 8 kB / 1.08 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/0.9639, allocations: 166.9 kB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.9642, allocations: 0.677 MB / 1.08 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.903e-05/0.9643, allocations: 12.61 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/0.9643, allocations: 11.38 kB / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.9643, allocations: 4 kB / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01059/0.9749, allocations: 1.226 MB / 1.082 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/0.9751, allocations: 183.9 kB / 1.082 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.137/3.112, allocations: 4 kB / 1.082 GB, free: 12.12 MB / 0.8419 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