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.0009907/0.0009907, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.000973/0.000973, allocations: 192.7 kB / 16.13 MB, free: 6.707 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 MB, free: 4.746 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.519/1.519, allocations: 292.3 MB / 0.5484 GB, free: 13.62 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.001269/0.001269, allocations: 67.44 kB / 0.6709 GB, free: 26.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1532, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4176/0.5709, allocations: 145.6 MB / 0.925 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 9.268e-05/0.571, allocations: 43.09 kB / 0.925 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.575e-05/0.571, allocations: 0 / 0.925 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.737e-05/0.5711, allocations: 8.203 kB / 0.925 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.92e-05/0.5712, allocations: 15.05 kB / 0.925 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.5715, allocations: 86.05 kB / 0.9251 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.936e-05/0.5716, allocations: 54.84 kB / 0.9252 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 2.737e-05/0.5716, allocations: 5.031 kB / 0.9252 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.125e-05/0.5717, allocations: 17.66 kB / 0.9252 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.509e-05/0.5717, allocations: 15.34 kB / 0.9252 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.788e-06/0.5717, allocations: 0 / 0.9252 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.572, allocations: 78.17 kB / 0.9253 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.585e-05/0.572, allocations: 9.719 kB / 0.9253 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.572, allocations: 12.59 kB / 0.9253 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.5722, allocations: 67.36 kB / 0.9254 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.5722, allocations: 0.7969 kB / 0.9254 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5722, allocations: 1 kB / 0.9254 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.945e-06/0.5722, allocations: 4 kB / 0.9254 GB, free: 6.07 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.0004456/0.5727, allocations: 339.2 kB / 0.9257 GB, free: 21.72 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.5727, allocations: 9.406 kB / 0.9257 GB, free: 21.72 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.993e-05/0.5727, allocations: 37.02 kB / 0.9257 GB, free: 21.68 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.5729, allocations: 22.23 kB / 0.9257 GB, free: 21.68 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.047e-05/0.573, allocations: 164.3 kB / 0.9259 GB, free: 21.48 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.018e-05/0.5731, allocations: 38.09 kB / 0.9259 GB, free: 21.44 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.5731, allocations: 1.312 kB / 0.9259 GB, free: 21.44 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.5732, allocations: 47.44 kB / 0.926 GB, free: 21.41 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.5732, allocations: 2.625 kB / 0.926 GB, free: 21.41 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.5733, allocations: 0 / 0.926 GB, free: 21.41 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.5733, allocations: 2.266 kB / 0.926 GB, free: 21.41 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.743e-05/0.5733, allocations: 26.2 kB / 0.926 GB, free: 21.41 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.5736, allocations: 258.3 kB / 0.9263 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 2.605e-05/0.5737, allocations: 20.62 kB / 0.9263 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.322e-05/0.5737, allocations: 9.016 kB / 0.9263 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 6.762e-06/0.5737, allocations: 0 / 0.9263 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.5737, allocations: 34.38 kB / 0.9263 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.5737, allocations: 0 / 0.9263 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of matching and sorting (n=1): time 0.000107/0.5738, allocations: 39.27 kB / 0.9264 GB, free: 21.04 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.5739, allocations: 56.56 kB / 0.9264 GB, free: 20.97 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.345e-05/0.5739, allocations: 110 kB / 0.9265 GB, free: 20.87 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.574, allocations: 27.89 kB / 0.9265 GB, free: 20.84 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.574, allocations: 90.27 kB / 0.9266 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.16e-06/0.574, allocations: 7.391 kB / 0.9266 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.5741, allocations: 15.06 kB / 0.9267 GB, free: 20.73 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.422e-05/0.5741, allocations: 317.6 kB / 0.927 GB, free: 20.42 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.492e-05/0.5742, allocations: 7.938 kB / 0.927 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.829e-05/0.5742, allocations: 20.19 kB / 0.927 GB, free: 20.39 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.119e-05/0.5742, allocations: 37.05 kB / 0.927 GB, free: 20.36 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5742, allocations: 1.062 kB / 0.927 GB, free: 20.36 MB / 0.7481 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.46e-05/0.5743, allocations: 56.7 kB / 0.9271 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.5743, allocations: 10.3 kB / 0.9271 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.5743, allocations: 2.5 kB / 0.9271 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.5744, allocations: 0.9375 kB / 0.9271 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.302e-05/0.5744, allocations: 8.344 kB / 0.9271 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.5744, allocations: 4.844 kB / 0.9271 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.378e-05/0.5745, allocations: 5.906 kB / 0.9271 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.5745, allocations: 1.594 kB / 0.9271 GB, free: 20.32 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 6.219e-05/0.5745, allocations: 112.2 kB / 0.9272 GB, free: 20.2 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.5746, allocations: 1.938 kB / 0.9272 GB, free: 20.2 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.471e-05/0.5746, allocations: 7.656 kB / 0.9272 GB, free: 20.2 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.5746, allocations: 1.812 kB / 0.9272 GB, free: 20.2 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5746, allocations: 4.719 kB / 0.9272 GB, free: 20.19 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-06/0.5746, allocations: 0 / 0.9272 GB, free: 20.19 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.5748, allocations: 345.3 kB / 0.9276 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5748, allocations: 0 / 0.9276 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.318e-05/0.5748, allocations: 3.406 kB / 0.9276 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.5748, allocations: 12.05 kB / 0.9276 GB, free: 19.81 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.5748, allocations: 2.203 kB / 0.9276 GB, free: 19.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5749, allocations: 0.9375 kB / 0.9276 GB, free: 19.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5749, allocations: 0 / 0.9276 GB, free: 19.81 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.839e-05/0.5749, allocations: 60.2 kB / 0.9276 GB, free: 19.74 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-05/0.5749, allocations: 85.22 kB / 0.9277 GB, free: 19.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.575, allocations: 0.75 kB / 0.9277 GB, free: 19.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.856e-05/0.575, allocations: 10 kB / 0.9277 GB, free: 19.64 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.028e-05/0.5751, allocations: 1.156 kB / 0.9277 GB, free: 19.64 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-06/0.5751, allocations: 0.7812 kB / 0.9277 GB, free: 19.64 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.337e-05/0.5751, allocations: 85.2 kB / 0.9278 GB, free: 19.57 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/0.5751, allocations: 0.5625 kB / 0.9278 GB, free: 19.57 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0001739/0.5753, allocations: 5.875 kB / 0.9278 GB, free: 19.57 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.0002576/0.5756, allocations: 0.6015 MB / 0.9284 GB, free: 18.97 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 5.778e-05/0.5756, allocations: 16.95 kB / 0.9284 GB, free: 18.97 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5756, allocations: 0 / 0.9284 GB, free: 18.97 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.539e-06/0.5756, allocations: 1.969 kB / 0.9284 GB, free: 18.97 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.5758, allocations: 3.531 kB / 0.9284 GB, free: 18.97 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.5761, allocations: 145.6 kB / 0.9286 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.5763, allocations: 0.6762 MB / 0.9292 GB, free: 18.13 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.989e-05/0.5764, allocations: 12.22 kB / 0.9292 GB, free: 18.13 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.059e-05/0.5764, allocations: 11.22 kB / 0.9292 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of SimCode: time 2.9e-07/0.5764, allocations: 0.7188 kB / 0.9292 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9457/1.522, allocations: 1.185 MB / 0.9304 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/1.522, allocations: 233.2 kB / 0.9306 GB, free: 17.67 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/3.404, allocations: 0 / 0.9306 GB, free: 17.67 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)