Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.547/1.547, allocations: 249.3 MB / 261.8 MB, free: 5.969 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.001037/0.001036, allocations: 182.5 kB / 321.3 MB, free: 14.65 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.677/1.677, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0008737/0.0008736, allocations: 92.3 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.966e-05/3.976e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2801, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 13.46/13.74, allocations: 4.605 GB / 5.497 GB, free: 23.09 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/13.74, allocations: 79.95 kB / 5.497 GB, free: 23.01 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7099/14.45, allocations: 45.13 MB / 5.541 GB, free: 298.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.667e-06/14.45, allocations: 0 / 5.541 GB, free: 298.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.106e-05/14.45, allocations: 0 / 5.541 GB, free: 298.1 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.0004522/14.45, allocations: 335.2 kB / 5.541 GB, free: 297.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.683e-05/14.45, allocations: 9.375 kB / 5.541 GB, free: 297.7 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.402e-05/14.45, allocations: 32.12 kB / 5.541 GB, free: 297.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002725/14.45, allocations: 23.08 kB / 5.541 GB, free: 297.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/14.45, allocations: 166.3 kB / 5.541 GB, free: 297.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-05/14.45, allocations: 26.95 kB / 5.541 GB, free: 297.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/14.45, allocations: 2.656 kB / 5.541 GB, free: 297.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/14.45, allocations: 43.7 kB / 5.541 GB, free: 297.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/14.45, allocations: 0 / 5.541 GB, free: 297.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/14.45, allocations: 7.938 kB / 5.541 GB, free: 297.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/14.45, allocations: 6.219 kB / 5.541 GB, free: 297.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.831e-05/14.45, allocations: 19.41 kB / 5.541 GB, free: 297.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005118/14.45, allocations: 256.7 kB / 5.542 GB, free: 297.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.544e-05/14.45, allocations: 20.92 kB / 5.542 GB, free: 297.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.141e-05/14.45, allocations: 10.08 kB / 5.542 GB, free: 297.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/14.45, allocations: 0 / 5.542 GB, free: 297.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.996e-05/14.45, allocations: 43.69 kB / 5.542 GB, free: 297 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/14.45, allocations: 0 / 5.542 GB, free: 297 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001836/14.45, allocations: 38.16 kB / 5.542 GB, free: 297 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/14.45, allocations: 52.44 kB / 5.542 GB, free: 296.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.821e-05/14.45, allocations: 97.25 kB / 5.542 GB, free: 296.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/14.45, allocations: 25.7 kB / 5.542 GB, free: 296.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/14.45, allocations: 95.25 kB / 5.542 GB, free: 296.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.717e-06/14.45, allocations: 3.906 kB / 5.542 GB, free: 296.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/14.45, allocations: 5.406 kB / 5.542 GB, free: 296.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.554e-05/14.45, allocations: 312.1 kB / 5.542 GB, free: 296.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.744e-05/14.45, allocations: 3.062 kB / 5.542 GB, free: 296.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.916e-05/14.45, allocations: 27.33 kB / 5.542 GB, free: 296.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.792e-05/14.45, allocations: 9.781 kB / 5.542 GB, free: 296.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/14.45, allocations: 4 kB / 5.542 GB, free: 296.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.768e-05/14.45, allocations: 53.11 kB / 5.542 GB, free: 296.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/14.45, allocations: 5.375 kB / 5.542 GB, free: 296.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/14.45, allocations: 1.312 kB / 5.542 GB, free: 296.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/14.45, allocations: 1.188 kB / 5.542 GB, free: 296.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.057e-05/14.45, allocations: 8.766 kB / 5.542 GB, free: 296.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/14.45, allocations: 1.062 kB / 5.542 GB, free: 296.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.963e-05/14.45, allocations: 2.438 kB / 5.542 GB, free: 296.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/14.45, allocations: 1.5 kB / 5.542 GB, free: 296.3 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 7.679e-05/14.45, allocations: 113.5 kB / 5.543 GB, free: 296.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/14.45, allocations: 7.938 kB / 5.543 GB, free: 296.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/14.45, allocations: 12.12 kB / 5.543 GB, free: 296.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/14.45, allocations: 0 / 5.543 GB, free: 296.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/14.45, allocations: 5.266 kB / 5.543 GB, free: 296.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/14.45, allocations: 4.031 kB / 5.543 GB, free: 296.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/14.45, allocations: 342.4 kB / 5.543 GB, free: 295.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/14.45, allocations: 5.172 kB / 5.543 GB, free: 295.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.4e-05/14.45, allocations: 8.375 kB / 5.543 GB, free: 295.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/14.45, allocations: 0 / 5.543 GB, free: 295.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/14.45, allocations: 4.953 kB / 5.543 GB, free: 295.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/14.45, allocations: 3.938 kB / 5.543 GB, free: 295.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/14.45, allocations: 0 / 5.543 GB, free: 295.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.404e-05/14.45, allocations: 57.08 kB / 5.543 GB, free: 295.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.593e-05/14.45, allocations: 77.11 kB / 5.543 GB, free: 295.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/14.45, allocations: 5.344 kB / 5.543 GB, free: 295.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.001e-05/14.45, allocations: 10.36 kB / 5.543 GB, free: 295.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.678e-05/14.45, allocations: 2.562 kB / 5.543 GB, free: 295.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/14.45, allocations: 256 / 5.543 GB, free: 295.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.852e-05/14.45, allocations: 88.62 kB / 5.543 GB, free: 295.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/14.45, allocations: 1.188 kB / 5.543 GB, free: 295.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003532/14.45, allocations: 40.47 kB / 5.543 GB, free: 295.5 MB / 0.8698 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.001128/14.45, allocations: 1.058 MB / 5.544 GB, free: 294.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.67e-05/14.45, allocations: 19.3 kB / 5.544 GB, free: 294.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/14.45, allocations: 4 kB / 5.544 GB, free: 294.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.624e-06/14.45, allocations: 2.312 kB / 5.544 GB, free: 294.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/14.45, allocations: 6.547 kB / 5.544 GB, free: 294.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/14.45, allocations: 94.47 kB / 5.544 GB, free: 294.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/14.45, allocations: 0.6781 MB / 5.545 GB, free: 294 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.133e-05/14.45, allocations: 12.3 kB / 5.545 GB, free: 294 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/14.45, allocations: 13.67 kB / 5.545 GB, free: 294 MB / 0.8698 GB Notification: Performance of SimCode: time 6.62e-07/14.45, allocations: 0 / 5.545 GB, free: 294 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03416/14.49, allocations: 12.32 MB / 5.557 GB, free: 293 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/14.49, allocations: 197.5 kB / 5.557 GB, free: 292.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/16.45, allocations: 0 / 5.557 GB, free: 292.8 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)