Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 191.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.204/1.204, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.46/1.46, allocations: 292.3 MB / 0.5486 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.16 kB / 0.6711 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1619, allocations: 114.5 MB / 0.783 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4262/0.5881, allocations: 145.7 MB / 0.9253 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 9.847e-05/0.5882, allocations: 56 kB / 0.9253 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.746e-05/0.5883, allocations: 0 / 0.9253 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.841e-05/0.5884, allocations: 1.812 kB / 0.9253 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.156e-05/0.5885, allocations: 15.66 kB / 0.9254 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.5888, allocations: 89.45 kB / 0.9254 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.666e-05/0.5889, allocations: 32.59 kB / 0.9255 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 2.708e-05/0.5889, allocations: 3.938 kB / 0.9255 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.078e-05/0.589, allocations: 12.52 kB / 0.9255 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.245e-05/0.589, allocations: 13.19 kB / 0.9255 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.358e-06/0.589, allocations: 1.281 kB / 0.9255 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.5892, allocations: 82.48 kB / 0.9256 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.496e-05/0.5893, allocations: 9.875 kB / 0.9256 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.5893, allocations: 17.09 kB / 0.9256 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.5894, allocations: 70.22 kB / 0.9257 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5894, allocations: 5.062 kB / 0.9257 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.462e-06/0.5894, allocations: 0 / 0.9257 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.5894, allocations: 1.031 kB / 0.9257 GB, free: 6.281 MB / 0.7325 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.000386/0.5898, allocations: 332 kB / 0.926 GB, free: 21.93 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.5899, allocations: 9.969 kB / 0.926 GB, free: 21.93 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.748e-05/0.5899, allocations: 35.59 kB / 0.926 GB, free: 21.89 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002009/0.5901, allocations: 29.48 kB / 0.9261 GB, free: 21.88 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.436e-05/0.5902, allocations: 164.3 kB / 0.9262 GB, free: 21.69 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.18e-05/0.5903, allocations: 33.78 kB / 0.9263 GB, free: 21.65 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-06/0.5903, allocations: 0.8125 kB / 0.9263 GB, free: 21.65 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.5904, allocations: 47.27 kB / 0.9263 GB, free: 21.62 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.5904, allocations: 0 / 0.9263 GB, free: 21.62 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.5904, allocations: 4.875 kB / 0.9263 GB, free: 21.62 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.5904, allocations: 5.328 kB / 0.9263 GB, free: 21.62 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.591e-05/0.5905, allocations: 24.31 kB / 0.9263 GB, free: 21.62 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002859/0.5908, allocations: 255.7 kB / 0.9266 GB, free: 21.35 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 2.803e-05/0.5908, allocations: 16.33 kB / 0.9266 GB, free: 21.33 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.377e-05/0.5908, allocations: 9.328 kB / 0.9266 GB, free: 21.32 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 6.662e-06/0.5909, allocations: 0.5 kB / 0.9266 GB, free: 21.32 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.5909, allocations: 38.91 kB / 0.9266 GB, free: 21.28 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.5909, allocations: 3.938 kB / 0.9267 GB, free: 21.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=1): time 0.0001055/0.591, allocations: 38.41 kB / 0.9267 GB, free: 21.24 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.591, allocations: 56.28 kB / 0.9267 GB, free: 21.18 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.267e-05/0.5911, allocations: 109.1 kB / 0.9268 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.5911, allocations: 25.7 kB / 0.9269 GB, free: 21.04 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.5912, allocations: 93.89 kB / 0.927 GB, free: 20.95 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.679e-06/0.5912, allocations: 4.906 kB / 0.927 GB, free: 20.95 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.5912, allocations: 20.36 kB / 0.927 GB, free: 20.93 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 7.424e-05/0.5913, allocations: 312.6 kB / 0.9273 GB, free: 20.62 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.557e-05/0.5913, allocations: 7.719 kB / 0.9273 GB, free: 20.62 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.96e-05/0.5913, allocations: 21.86 kB / 0.9273 GB, free: 20.6 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.949e-05/0.5914, allocations: 33.98 kB / 0.9273 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.5914, allocations: 0 / 0.9273 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.045e-05/0.5914, allocations: 55.31 kB / 0.9274 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.5915, allocations: 5 kB / 0.9274 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.5915, allocations: 7.656 kB / 0.9274 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.5915, allocations: 1.125 kB / 0.9274 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.949e-05/0.5915, allocations: 8.812 kB / 0.9274 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.5915, allocations: 5 kB / 0.9274 GB, free: 20.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.698e-05/0.5916, allocations: 6.312 kB / 0.9274 GB, free: 20.53 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.5916, allocations: 0.9375 kB / 0.9274 GB, free: 20.53 MB / 0.7481 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.833e-05/0.5917, allocations: 113.1 kB / 0.9275 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.5917, allocations: 1.875 kB / 0.9275 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.338e-05/0.5917, allocations: 7.328 kB / 0.9275 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.5917, allocations: 0 / 0.9275 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.5917, allocations: 6.156 kB / 0.9276 GB, free: 20.4 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-06/0.5917, allocations: 0 / 0.9276 GB, free: 20.4 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.5919, allocations: 346.8 kB / 0.9279 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5919, allocations: 4.328 kB / 0.9279 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-05/0.5919, allocations: 1.25 kB / 0.9279 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.5919, allocations: 5.156 kB / 0.9279 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-06/0.592, allocations: 3.875 kB / 0.9279 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.592, allocations: 1.688 kB / 0.9279 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.592, allocations: 1.875 kB / 0.9279 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.703e-05/0.592, allocations: 62.36 kB / 0.928 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 3.067e-05/0.5921, allocations: 86.22 kB / 0.928 GB, free: 19.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.5921, allocations: 0.7188 kB / 0.928 GB, free: 19.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-05/0.5921, allocations: 3 kB / 0.928 GB, free: 19.85 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.055e-06/0.5922, allocations: 3.875 kB / 0.928 GB, free: 19.85 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-06/0.5922, allocations: 0.8438 kB / 0.928 GB, free: 19.85 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.673e-05/0.5922, allocations: 83.19 kB / 0.9281 GB, free: 19.78 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5922, allocations: 0.6562 kB / 0.9281 GB, free: 19.78 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0001768/0.5924, allocations: 9.719 kB / 0.9281 GB, free: 19.77 MB / 0.7481 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002341/0.5926, allocations: 0.6006 MB / 0.9287 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 5.949e-05/0.5927, allocations: 18.5 kB / 0.9287 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5927, allocations: 2.031 kB / 0.9287 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 5.5e-06/0.5927, allocations: 6.031 kB / 0.9287 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.5929, allocations: 5.344 kB / 0.9288 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.5932, allocations: 145.9 kB / 0.9289 GB, free: 19.03 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.5934, allocations: 0.6757 MB / 0.9296 GB, free: 18.33 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.835e-05/0.5934, allocations: 12.38 kB / 0.9296 GB, free: 18.33 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.166e-05/0.5935, allocations: 9.812 kB / 0.9296 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.5935, allocations: 0.9062 kB / 0.9296 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.113/0.7065, allocations: 1.223 MB / 0.9308 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/0.7067, allocations: 234.7 kB / 0.931 GB, free: 17.87 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.323, allocations: 1.203 kB / 0.931 GB, free: 17.87 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)