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.498/1.498, allocations: 249.5 MB / 257 MB, free: 6.977 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.001121/0.00112, allocations: 175.1 kB / 316.3 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.001009/0.001009, allocations: 88.45 kB / 0.6714 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.673e-05/1.676e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2356, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.08/12.31, allocations: 4.605 GB / 5.49 GB, free: 80.88 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003849/12.31, allocations: 79.7 kB / 5.49 GB, free: 80.83 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.08381/12.4, allocations: 44.4 MB / 5.534 GB, free: 38.73 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.783e-06/12.4, allocations: 3.938 kB / 5.534 GB, free: 38.73 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.482e-06/12.4, allocations: 0 / 5.534 GB, free: 38.73 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.0002784/12.4, allocations: 334.5 kB / 5.534 GB, free: 38.36 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/12.4, allocations: 12.03 kB / 5.534 GB, free: 38.35 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/12.4, allocations: 15.98 kB / 5.534 GB, free: 38.33 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.883e-05/12.4, allocations: 159.1 kB / 5.534 GB, free: 38.14 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6e-05/12.4, allocations: 33.69 kB / 5.534 GB, free: 38.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/12.4, allocations: 4 kB / 5.534 GB, free: 38.09 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.162e-05/12.4, allocations: 15.95 kB / 5.534 GB, free: 38.08 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.154e-05/12.4, allocations: 57.61 kB / 5.534 GB, free: 38.02 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/12.4, allocations: 0 / 5.534 GB, free: 38.02 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/12.4, allocations: 0 / 5.534 GB, free: 38.02 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/12.4, allocations: 0 / 5.534 GB, free: 38.02 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003184/12.4, allocations: 229.4 kB / 5.535 GB, free: 37.75 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.327e-05/12.4, allocations: 26.53 kB / 5.535 GB, free: 37.72 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/12.4, allocations: 8.859 kB / 5.535 GB, free: 37.71 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-06/12.4, allocations: 0 / 5.535 GB, free: 37.71 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/12.4, allocations: 34.59 kB / 5.535 GB, free: 37.66 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/12.4, allocations: 0 / 5.535 GB, free: 37.66 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001159/12.4, allocations: 33.7 kB / 5.535 GB, free: 37.62 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.822e-05/12.4, allocations: 55.41 kB / 5.535 GB, free: 37.56 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.127e-05/12.4, allocations: 93 kB / 5.535 GB, free: 37.46 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/12.4, allocations: 25.73 kB / 5.535 GB, free: 37.43 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/12.4, allocations: 99.97 kB / 5.535 GB, free: 37.33 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.071e-06/12.4, allocations: 11.84 kB / 5.535 GB, free: 37.32 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/12.4, allocations: 0 / 5.535 GB, free: 37.32 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.41e-05/12.4, allocations: 311.2 kB / 5.535 GB, free: 37 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.306e-05/12.4, allocations: 4 kB / 5.535 GB, free: 37 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.978e-05/12.4, allocations: 22.58 kB / 5.535 GB, free: 36.97 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.903e-05/12.4, allocations: 11.98 kB / 5.535 GB, free: 36.96 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/12.4, allocations: 0 / 5.535 GB, free: 36.96 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.975e-05/12.4, allocations: 57.52 kB / 5.535 GB, free: 36.89 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/12.4, allocations: 5.719 kB / 5.535 GB, free: 36.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/12.4, allocations: 0 / 5.535 GB, free: 36.89 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/12.4, allocations: 4 kB / 5.535 GB, free: 36.89 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.614e-05/12.4, allocations: 8 kB / 5.535 GB, free: 36.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/12.4, allocations: 7.984 kB / 5.535 GB, free: 36.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.658e-05/12.4, allocations: 8.031 kB / 5.535 GB, free: 36.86 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/12.4, allocations: 0 / 5.535 GB, free: 36.86 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 4.74e-05/12.4, allocations: 105 kB / 5.536 GB, free: 36.75 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.583e-05/12.4, allocations: 37.64 kB / 5.536 GB, free: 36.71 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/12.4, allocations: 3.906 kB / 5.536 GB, free: 36.71 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.761e-05/12.4, allocations: 11.7 kB / 5.536 GB, free: 36.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/12.4, allocations: 0 / 5.536 GB, free: 36.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/12.4, allocations: 0 / 5.536 GB, free: 36.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/12.4, allocations: 0 / 5.536 GB, free: 36.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/12.4, allocations: 331.3 kB / 5.536 GB, free: 36.33 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/12.4, allocations: 0 / 5.536 GB, free: 36.33 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.16e-05/12.4, allocations: 96 / 5.536 GB, free: 36.33 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/12.4, allocations: 7.984 kB / 5.536 GB, free: 36.32 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/12.4, allocations: 0 / 5.536 GB, free: 36.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/12.4, allocations: 4.234 kB / 5.536 GB, free: 36.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/12.4, allocations: 0 / 5.536 GB, free: 36.32 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.402e-05/12.4, allocations: 61.12 kB / 5.536 GB, free: 36.24 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/12.4, allocations: 85.11 kB / 5.536 GB, free: 36.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/12.4, allocations: 0 / 5.536 GB, free: 36.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.468e-05/12.4, allocations: 7.984 kB / 5.536 GB, free: 36.13 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/12.4, allocations: 0 / 5.536 GB, free: 36.13 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-06/12.4, allocations: 0 / 5.536 GB, free: 36.13 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.746e-05/12.4, allocations: 79.28 kB / 5.536 GB, free: 36.05 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/12.4, allocations: 0 / 5.536 GB, free: 36.05 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002659/12.4, allocations: 40.02 kB / 5.536 GB, free: 36.01 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.0008221/12.4, allocations: 1.167 MB / 5.537 GB, free: 34.82 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.456e-05/12.4, allocations: 12 kB / 5.537 GB, free: 34.81 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/12.4, allocations: 0 / 5.537 GB, free: 34.81 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.911e-06/12.4, allocations: 7.875 kB / 5.537 GB, free: 34.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/12.4, allocations: 9.156 kB / 5.537 GB, free: 34.79 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002701/12.4, allocations: 82.09 kB / 5.537 GB, free: 34.68 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/12.4, allocations: 0.6807 MB / 5.538 GB, free: 33.97 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.424e-05/12.4, allocations: 16.22 kB / 5.538 GB, free: 33.95 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/12.4, allocations: 11.44 kB / 5.538 GB, free: 33.94 MB / 0.8698 GB Notification: Performance of SimCode: time 2.61e-07/12.4, allocations: 0 / 5.538 GB, free: 33.94 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/12.43, allocations: 5.373 MB / 5.543 GB, free: 28.57 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/12.43, allocations: 180.8 kB / 5.544 GB, free: 28.38 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/14.11, allocations: 7.094 kB / 5.544 GB, free: 28.38 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)