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.001626/0.001626, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002205/0.002204, allocations: 189.5 kB / 16.62 MB, free: 6.613 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.41/1.41, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.743/1.743, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001428/0.001428, allocations: 68.28 kB / 0.6718 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2341, allocations: 114.6 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.68/0.9142, allocations: 147.8 MB / 0.928 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001757/0.9144, allocations: 47.67 kB / 0.928 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.773e-05/0.9144, allocations: 1.094 kB / 0.928 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.9146, allocations: 3.953 kB / 0.928 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.506e-05/0.9147, allocations: 16.08 kB / 0.9281 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.9152, allocations: 99.14 kB / 0.9282 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.409e-05/0.9152, allocations: 31.09 kB / 0.9282 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.571e-05/0.9153, allocations: 2.516 kB / 0.9282 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.336e-05/0.9153, allocations: 12.08 kB / 0.9282 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.21e-05/0.9154, allocations: 15.61 kB / 0.9282 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.9154, allocations: 1.125 kB / 0.9282 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002526/0.9157, allocations: 80.25 kB / 0.9283 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.9158, allocations: 16.38 kB / 0.9283 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.03e-05/0.9158, allocations: 9.188 kB / 0.9283 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.916, allocations: 70.8 kB / 0.9284 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.916, allocations: 3.812 kB / 0.9284 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.935e-06/0.916, allocations: 0 / 0.9284 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.916, allocations: 2.781 kB / 0.9284 GB, free: 3.234 MB / 0.7169 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.0006877/0.9167, allocations: 338.4 kB / 0.9287 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.9168, allocations: 10.62 kB / 0.9287 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.656e-05/0.9168, allocations: 30.75 kB / 0.9287 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002301/0.917, allocations: 27.39 kB / 0.9288 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.9172, allocations: 164.4 kB / 0.9289 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.618e-05/0.9173, allocations: 32.8 kB / 0.929 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.9173, allocations: 0 / 0.929 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.9175, allocations: 57.67 kB / 0.929 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.9175, allocations: 0 / 0.929 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.9175, allocations: 0.75 kB / 0.929 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.9175, allocations: 2.5 kB / 0.929 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.5e-05/0.9176, allocations: 18 kB / 0.929 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.918, allocations: 259.3 kB / 0.9293 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.473e-05/0.918, allocations: 19.31 kB / 0.9293 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.675e-05/0.918, allocations: 11.48 kB / 0.9293 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-06/0.9181, allocations: 0 / 0.9293 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.9181, allocations: 35.31 kB / 0.9293 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.9181, allocations: 7.797 kB / 0.9294 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001393/0.9182, allocations: 31.64 kB / 0.9294 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.9183, allocations: 55.34 kB / 0.9294 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.521e-05/0.9184, allocations: 111 kB / 0.9295 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.9184, allocations: 25.7 kB / 0.9296 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/0.9185, allocations: 94.31 kB / 0.9297 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.6e-06/0.9185, allocations: 0.7031 kB / 0.9297 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.9185, allocations: 22.27 kB / 0.9297 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.9186, allocations: 312.2 kB / 0.93 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/0.9187, allocations: 9.094 kB / 0.93 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.252e-05/0.9187, allocations: 26.05 kB / 0.93 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.671e-05/0.9187, allocations: 32.78 kB / 0.93 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.9187, allocations: 0 / 0.93 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.794e-05/0.9188, allocations: 55.92 kB / 0.9301 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.9188, allocations: 5.141 kB / 0.9301 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.9189, allocations: 4.375 kB / 0.9301 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.9189, allocations: 3.938 kB / 0.9301 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.975e-05/0.9189, allocations: 7.375 kB / 0.9301 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.919, allocations: 4.5 kB / 0.9301 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.505e-05/0.919, allocations: 2.188 kB / 0.9301 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.919, allocations: 7.328 kB / 0.9301 GB, free: 17.46 MB / 0.7325 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 8.368e-05/0.9191, allocations: 114.7 kB / 0.9302 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.9191, allocations: 0 / 0.9302 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.652e-05/0.9191, allocations: 6.547 kB / 0.9302 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.9192, allocations: 1.078 kB / 0.9302 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.9192, allocations: 3.938 kB / 0.9302 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.9192, allocations: 0 / 0.9302 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.9194, allocations: 348.1 kB / 0.9306 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.9194, allocations: 2.625 kB / 0.9306 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.205e-05/0.9194, allocations: 0 / 0.9306 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.9195, allocations: 4.547 kB / 0.9306 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.9195, allocations: 3.828 kB / 0.9306 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.9195, allocations: 0 / 0.9306 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.9195, allocations: 2.875 kB / 0.9306 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.895e-05/0.9195, allocations: 63.28 kB / 0.9307 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.9196, allocations: 84.84 kB / 0.9307 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.9196, allocations: 0 / 0.9307 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.9197, allocations: 4.547 kB / 0.9307 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.9197, allocations: 4.594 kB / 0.9307 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.9197, allocations: 2.625 kB / 0.9307 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.514e-05/0.9198, allocations: 83.62 kB / 0.9308 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7.52e-07/0.9198, allocations: 2.625 kB / 0.9308 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001841/0.92, allocations: 10.39 kB / 0.9308 GB, free: 16.7 MB / 0.7325 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.0004401/0.9204, allocations: 0.5996 MB / 0.9314 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.957e-05/0.9205, allocations: 19.89 kB / 0.9314 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.9205, allocations: 0 / 0.9314 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.27e-06/0.9205, allocations: 3.375 kB / 0.9314 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.9208, allocations: 8.281 kB / 0.9315 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.9211, allocations: 144.7 kB / 0.9316 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.9214, allocations: 0.6745 MB / 0.9323 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.711e-05/0.9215, allocations: 11.48 kB / 0.9323 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.9215, allocations: 7.438 kB / 0.9323 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of SimCode: time 7.81e-07/0.9215, allocations: 4 kB / 0.9323 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.9389, allocations: 1.315 MB / 0.9336 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.429/8.368, allocations: 6.312 kB / 0.9336 GB, free: 14.91 MB / 0.7325 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)