Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.828/1.828, allocations: 289.7 MB / 302.2 MB, free: 2.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 178.6 kB / 371.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 205.2 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000973/0.0009732, allocations: 89.44 kB / 0.745 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.714e-05/6.726e-05, allocations: 4 kB / 0.8663 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3159, allocations: 116.3 MB / 0.9799 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.343/6.659, allocations: 2.054 GB / 3.034 GB, free: 142.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/6.66, allocations: 67.59 kB / 3.034 GB, free: 142.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06963/6.729, allocations: 37.36 MB / 3.071 GB, free: 111.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.513e-06/6.729, allocations: 4 kB / 3.071 GB, free: 111.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.797e-06/6.729, allocations: 4 kB / 3.071 GB, free: 111.7 MB / 0.948 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.0003408/6.73, allocations: 340.1 kB / 3.071 GB, free: 111.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/6.73, allocations: 12.02 kB / 3.071 GB, free: 111.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.59e-05/6.73, allocations: 34.56 kB / 3.071 GB, free: 111.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002649/6.73, allocations: 23.92 kB / 3.071 GB, free: 111.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/6.73, allocations: 171 kB / 3.071 GB, free: 111.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.719e-05/6.73, allocations: 29.7 kB / 3.071 GB, free: 111.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/6.73, allocations: 0 / 3.071 GB, free: 111.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/6.73, allocations: 45.31 kB / 3.071 GB, free: 111 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/6.73, allocations: 0 / 3.071 GB, free: 111 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/6.73, allocations: 7.828 kB / 3.071 GB, free: 111 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/6.731, allocations: 7.953 kB / 3.071 GB, free: 111 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.001e-05/6.731, allocations: 23.23 kB / 3.071 GB, free: 111 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/6.731, allocations: 254.2 kB / 3.072 GB, free: 110.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.021e-05/6.731, allocations: 22.52 kB / 3.072 GB, free: 110.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.064e-05/6.731, allocations: 12.73 kB / 3.072 GB, free: 110.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/6.731, allocations: 93.09 kB / 3.072 GB, free: 110.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/6.731, allocations: 34.52 kB / 3.072 GB, free: 110.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/6.731, allocations: 0 / 3.072 GB, free: 110.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002125/6.731, allocations: 48.75 kB / 3.072 GB, free: 110.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/6.731, allocations: 51.41 kB / 3.072 GB, free: 110.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.474e-05/6.732, allocations: 104.7 kB / 3.072 GB, free: 110.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/6.732, allocations: 25.7 kB / 3.072 GB, free: 110.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/6.732, allocations: 88.77 kB / 3.072 GB, free: 110.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.837e-06/6.732, allocations: 7.844 kB / 3.072 GB, free: 110.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-06/6.732, allocations: 0 / 3.072 GB, free: 110.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.89e-05/6.732, allocations: 318.9 kB / 3.072 GB, free: 109.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/6.732, allocations: 4 kB / 3.072 GB, free: 109.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.763e-05/6.732, allocations: 26.62 kB / 3.072 GB, free: 109.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.142e-05/6.732, allocations: 4 kB / 3.072 GB, free: 109.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/6.732, allocations: 3.938 kB / 3.072 GB, free: 109.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.545e-05/6.732, allocations: 57.38 kB / 3.072 GB, free: 109.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/6.732, allocations: 8 kB / 3.073 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/6.732, allocations: 96 / 3.073 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/6.732, allocations: 7.938 kB / 3.073 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.661e-05/6.732, allocations: 8 kB / 3.073 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/6.732, allocations: 0 / 3.073 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.92e-05/6.732, allocations: 3.984 kB / 3.073 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/6.732, allocations: 7.938 kB / 3.073 GB, free: 109.7 MB / 0.948 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 5.082e-05/6.732, allocations: 106.5 kB / 3.073 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/6.732, allocations: 8 kB / 3.073 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/6.732, allocations: 7.125 kB / 3.073 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/6.732, allocations: 3.953 kB / 3.073 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/6.732, allocations: 0 / 3.073 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/6.732, allocations: 3.938 kB / 3.073 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/6.732, allocations: 359.2 kB / 3.073 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/6.732, allocations: 0 / 3.073 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.219e-05/6.732, allocations: 8.062 kB / 3.073 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/6.732, allocations: 3.953 kB / 3.073 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/6.732, allocations: 4 kB / 3.073 GB, free: 109.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/6.732, allocations: 0 / 3.073 GB, free: 109.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/6.732, allocations: 0 / 3.073 GB, free: 109.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.782e-05/6.733, allocations: 83.14 kB / 3.073 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/6.733, allocations: 89.03 kB / 3.073 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/6.733, allocations: 0 / 3.073 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.346e-05/6.733, allocations: 4 kB / 3.073 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.348e-05/6.733, allocations: 7.984 kB / 3.073 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/6.733, allocations: 0 / 3.073 GB, free: 108.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.191e-05/6.733, allocations: 79.28 kB / 3.073 GB, free: 108.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/6.733, allocations: 0 / 3.073 GB, free: 108.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003204/6.733, allocations: 40.67 kB / 3.073 GB, free: 108.8 MB / 0.948 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 () * 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.0008336/6.734, allocations: 1.14 MB / 3.074 GB, free: 107.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.63e-05/6.734, allocations: 19.44 kB / 3.074 GB, free: 107.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/6.734, allocations: 0 / 3.074 GB, free: 107.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.438e-06/6.734, allocations: 8.188 kB / 3.074 GB, free: 107.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/6.734, allocations: 11.48 kB / 3.074 GB, free: 107.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/6.735, allocations: 102.6 kB / 3.075 GB, free: 107.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/6.735, allocations: 0.6809 MB / 3.075 GB, free: 106.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.876e-05/6.735, allocations: 8.125 kB / 3.075 GB, free: 106.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/6.735, allocations: 11.38 kB / 3.075 GB, free: 106.8 MB / 0.948 GB Notification: Performance of SimCode: time 3.61e-07/6.735, allocations: 0 / 3.075 GB, free: 106.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/6.759, allocations: 11.9 MB / 3.087 GB, free: 94.98 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/6.76, allocations: 163.5 kB / 3.087 GB, free: 94.75 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.153/8.912, allocations: 0 / 3.087 GB, free: 94.75 MB / 0.948 GB (rm -f Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)