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.742/1.742, allocations: 289.9 MB / 297.4 MB, free: 6.309 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.001352/0.001353, allocations: 184.9 kB / 366.7 MB, free: 1.648 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.894/1.894, allocations: 205.2 MB / 0.626 GB, free: 7.199 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.000944/0.0009439, allocations: 95.92 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.997e-05/2e-05, allocations: 4 kB / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8053/0.8054, allocations: 116.3 MB / 0.9733 GB, free: 76.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.212/6.017, allocations: 2.054 GB / 3.027 GB, free: 76.84 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/6.018, allocations: 76.45 kB / 3.027 GB, free: 76.77 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06663/6.084, allocations: 36.73 MB / 3.063 GB, free: 39.82 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.903e-06/6.084, allocations: 4 kB / 3.063 GB, free: 39.81 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.025e-06/6.084, allocations: 0 / 3.063 GB, free: 39.81 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.0002877/6.085, allocations: 342.5 kB / 3.063 GB, free: 39.43 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/6.085, allocations: 8.031 kB / 3.063 GB, free: 39.43 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002511/6.085, allocations: 35.83 kB / 3.063 GB, free: 39.39 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.35e-05/6.085, allocations: 163 kB / 3.063 GB, free: 39.19 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.083e-05/6.085, allocations: 29.7 kB / 3.063 GB, free: 39.16 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/6.085, allocations: 4 kB / 3.063 GB, free: 39.15 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.015e-05/6.085, allocations: 23.92 kB / 3.063 GB, free: 39.13 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.472e-05/6.085, allocations: 41.69 kB / 3.064 GB, free: 39.08 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/6.085, allocations: 3.938 kB / 3.064 GB, free: 39.08 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/6.085, allocations: 0 / 3.064 GB, free: 39.08 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/6.085, allocations: 4.953 kB / 3.064 GB, free: 39.07 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/6.086, allocations: 330.6 kB / 3.064 GB, free: 38.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.002e-05/6.086, allocations: 18.58 kB / 3.064 GB, free: 38.67 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/6.086, allocations: 4.859 kB / 3.064 GB, free: 38.66 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.613e-06/6.086, allocations: 3.938 kB / 3.064 GB, free: 38.66 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/6.086, allocations: 30.56 kB / 3.064 GB, free: 38.62 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/6.086, allocations: 0 / 3.064 GB, free: 38.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0001835/6.086, allocations: 45.7 kB / 3.064 GB, free: 38.57 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.897e-05/6.086, allocations: 55.41 kB / 3.064 GB, free: 38.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.677e-05/6.086, allocations: 94.38 kB / 3.064 GB, free: 38.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/6.086, allocations: 25.7 kB / 3.064 GB, free: 38.37 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/6.086, allocations: 103.9 kB / 3.064 GB, free: 38.27 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-06/6.086, allocations: 0 / 3.064 GB, free: 38.27 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/6.086, allocations: 0 / 3.064 GB, free: 38.27 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.663e-05/6.086, allocations: 310.8 kB / 3.065 GB, free: 37.95 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/6.086, allocations: 8.031 kB / 3.065 GB, free: 37.95 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.074e-05/6.086, allocations: 30.55 kB / 3.065 GB, free: 37.91 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.869e-05/6.086, allocations: 7.938 kB / 3.065 GB, free: 37.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/6.086, allocations: 0 / 3.065 GB, free: 37.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.079e-05/6.087, allocations: 49.69 kB / 3.065 GB, free: 37.84 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/6.087, allocations: 4 kB / 3.065 GB, free: 37.84 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/6.087, allocations: 4.094 kB / 3.065 GB, free: 37.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/6.087, allocations: 4 kB / 3.065 GB, free: 37.83 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.577e-05/6.087, allocations: 7.938 kB / 3.065 GB, free: 37.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/6.087, allocations: 3.953 kB / 3.065 GB, free: 37.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.601e-05/6.087, allocations: 7.906 kB / 3.065 GB, free: 37.81 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/6.087, allocations: 0 / 3.065 GB, free: 37.81 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 6.465e-05/6.087, allocations: 105 kB / 3.065 GB, free: 37.7 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.764e-05/6.087, allocations: 33.69 kB / 3.065 GB, free: 37.66 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/6.087, allocations: 0 / 3.065 GB, free: 37.66 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.102e-05/6.087, allocations: 11.78 kB / 3.065 GB, free: 37.66 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/6.087, allocations: 3.953 kB / 3.065 GB, free: 37.65 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/6.087, allocations: 7.875 kB / 3.065 GB, free: 37.65 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/6.087, allocations: 0 / 3.065 GB, free: 37.65 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/6.087, allocations: 323.3 kB / 3.065 GB, free: 37.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/6.087, allocations: 3.938 kB / 3.065 GB, free: 37.28 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.247e-05/6.087, allocations: 3.984 kB / 3.065 GB, free: 37.28 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/6.087, allocations: 0 / 3.065 GB, free: 37.28 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/6.087, allocations: 11.98 kB / 3.065 GB, free: 37.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/6.087, allocations: 3.594 kB / 3.065 GB, free: 37.27 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/6.087, allocations: 0 / 3.065 GB, free: 37.27 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.625e-05/6.087, allocations: 60.98 kB / 3.065 GB, free: 37.19 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/6.087, allocations: 81.11 kB / 3.065 GB, free: 37.09 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/6.087, allocations: 0 / 3.065 GB, free: 37.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.377e-05/6.087, allocations: 11.94 kB / 3.065 GB, free: 37.08 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/6.087, allocations: 4.031 kB / 3.065 GB, free: 37.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/6.087, allocations: 0 / 3.065 GB, free: 37.07 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.37e-05/6.087, allocations: 83.28 kB / 3.065 GB, free: 36.99 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/6.087, allocations: 0 / 3.065 GB, free: 36.99 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002508/6.088, allocations: 35.98 kB / 3.065 GB, free: 36.96 MB / 0.948 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.0008529/6.088, allocations: 1.13 MB / 3.066 GB, free: 35.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.264e-05/6.089, allocations: 15.94 kB / 3.067 GB, free: 35.79 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/6.089, allocations: 0 / 3.067 GB, free: 35.79 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.838e-06/6.089, allocations: 0 / 3.067 GB, free: 35.79 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/6.089, allocations: 14 kB / 3.067 GB, free: 35.78 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002888/6.089, allocations: 90.03 kB / 3.067 GB, free: 35.65 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/6.089, allocations: 0.6814 MB / 3.067 GB, free: 34.95 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.251e-05/6.089, allocations: 8.25 kB / 3.067 GB, free: 34.94 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/6.089, allocations: 7.438 kB / 3.067 GB, free: 34.93 MB / 0.948 GB Notification: Performance of SimCode: time 2.61e-07/6.089, allocations: 3.938 kB / 3.067 GB, free: 34.93 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/6.113, allocations: 5.206 MB / 3.072 GB, free: 29.75 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/6.113, allocations: 152 kB / 3.073 GB, free: 29.55 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.91/8.023, allocations: 3.938 kB / 3.073 GB, free: 29.55 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)