Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.443/1.443, allocations: 249.3 MB / 261.8 MB, free: 5.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001206/0.001206, allocations: 178.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.2 MB / 0.572 GB, free: 10.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009434/0.0009433, allocations: 94.45 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.001e-05/3.005e-05, allocations: 0 / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.238, allocations: 106.3 MB / 0.8919 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.428/6.666, allocations: 2.171 GB / 3.063 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003827/6.667, allocations: 67.97 kB / 3.063 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06967/6.737, allocations: 36.61 MB / 3.099 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.723e-06/6.737, allocations: 0 / 3.099 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.684e-06/6.737, allocations: 4 kB / 3.099 GB, free: 161.7 MB / 0.8698 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.0003033/6.737, allocations: 338.5 kB / 3.099 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/6.737, allocations: 8.031 kB / 3.099 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/6.737, allocations: 38.52 kB / 3.099 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002405/6.737, allocations: 27.95 kB / 3.099 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/6.737, allocations: 167.1 kB / 3.1 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.247e-05/6.737, allocations: 25.7 kB / 3.1 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/6.737, allocations: 3.984 kB / 3.1 GB, free: 161 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/6.738, allocations: 53.62 kB / 3.1 GB, free: 161 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/6.738, allocations: 0 / 3.1 GB, free: 161 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/6.738, allocations: 3.953 kB / 3.1 GB, free: 161 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/6.738, allocations: 4 kB / 3.1 GB, free: 161 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.533e-05/6.738, allocations: 19.98 kB / 3.1 GB, free: 161 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/6.738, allocations: 252.9 kB / 3.1 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.932e-05/6.738, allocations: 22.58 kB / 3.1 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.081e-05/6.738, allocations: 12.92 kB / 3.1 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001348/6.738, allocations: 104.9 kB / 3.1 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/6.738, allocations: 30.56 kB / 3.1 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/6.738, allocations: 0 / 3.1 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001974/6.739, allocations: 49.69 kB / 3.1 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/6.739, allocations: 51.41 kB / 3.1 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.66e-05/6.739, allocations: 93 kB / 3.1 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/6.739, allocations: 25.7 kB / 3.1 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.872e-05/6.739, allocations: 95.97 kB / 3.1 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.123e-06/6.739, allocations: 3.906 kB / 3.1 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-06/6.739, allocations: 0 / 3.1 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.825e-05/6.739, allocations: 314.8 kB / 3.101 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/6.739, allocations: 12.03 kB / 3.101 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.155e-05/6.739, allocations: 26.5 kB / 3.101 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.028e-05/6.739, allocations: 4 kB / 3.101 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/6.739, allocations: 0 / 3.101 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.482e-05/6.739, allocations: 53.62 kB / 3.101 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/6.739, allocations: 16.05 kB / 3.101 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/6.739, allocations: 0 / 3.101 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/6.739, allocations: 0 / 3.101 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.621e-05/6.739, allocations: 8 kB / 3.101 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/6.739, allocations: 0 / 3.101 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.611e-05/6.739, allocations: 4 kB / 3.101 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/6.739, allocations: 7.938 kB / 3.101 GB, free: 159.6 MB / 0.8698 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.491e-05/6.739, allocations: 101 kB / 3.101 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/6.739, allocations: 0 / 3.101 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/6.739, allocations: 27.02 kB / 3.101 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/6.739, allocations: 0 / 3.101 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/6.739, allocations: 0 / 3.101 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/6.739, allocations: 0 / 3.101 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/6.74, allocations: 359.5 kB / 3.101 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/6.74, allocations: 3.953 kB / 3.101 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-05/6.74, allocations: 4 kB / 3.101 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/6.74, allocations: 3.938 kB / 3.101 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/6.74, allocations: 8.062 kB / 3.101 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/6.74, allocations: 4 kB / 3.101 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/6.74, allocations: 0 / 3.101 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.38e-05/6.74, allocations: 91.88 kB / 3.101 GB, free: 159 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/6.74, allocations: 77.11 kB / 3.102 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/6.74, allocations: 0 / 3.102 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.41e-05/6.74, allocations: 12.02 kB / 3.102 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/6.74, allocations: 4 kB / 3.102 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/6.74, allocations: 0 / 3.102 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.403e-05/6.74, allocations: 83.27 kB / 3.102 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/6.74, allocations: 0 / 3.102 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003021/6.74, allocations: 39.98 kB / 3.102 GB, free: 158.7 MB / 0.8698 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.0008418/6.741, allocations: 1.142 MB / 3.103 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.623e-05/6.741, allocations: 19.94 kB / 3.103 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/6.741, allocations: 0 / 3.103 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.758e-06/6.741, allocations: 4 kB / 3.103 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/6.741, allocations: 8.312 kB / 3.103 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002823/6.742, allocations: 107.8 kB / 3.103 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/6.742, allocations: 0.6809 MB / 3.104 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.532e-05/6.742, allocations: 11.88 kB / 3.104 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/6.742, allocations: 15.44 kB / 3.104 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of SimCode: time 2.81e-07/6.742, allocations: 0 / 3.104 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02408/6.766, allocations: 11.91 MB / 3.115 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/6.766, allocations: 168 kB / 3.115 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.169/8.935, allocations: 2.109 kB / 3.115 GB, free: 144.6 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)