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.001099/0.001099, allocations: 108 kB / 15.6 MB, free: 132 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.001098/0.001098, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.134/1.134, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.473/1.473, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001394/0.001394, allocations: 68.22 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1729, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.481/0.6539, allocations: 147.8 MB / 0.9278 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001117/0.6541, allocations: 47.83 kB / 0.9279 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.092e-05/0.6541, allocations: 0 / 0.9279 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.912e-05/0.6542, allocations: 5.109 kB / 0.9279 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.577e-05/0.6543, allocations: 12.39 kB / 0.9279 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.6547, allocations: 99.77 kB / 0.928 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.407e-05/0.6548, allocations: 30.16 kB / 0.928 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.494e-05/0.6548, allocations: 0.6562 kB / 0.928 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.256e-05/0.6548, allocations: 16.39 kB / 0.928 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.89e-05/0.6549, allocations: 15.89 kB / 0.9281 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.6549, allocations: 0 / 0.9281 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/0.6552, allocations: 80.88 kB / 0.9281 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.861e-05/0.6552, allocations: 11.7 kB / 0.9281 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.6552, allocations: 6.969 kB / 0.9282 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.6554, allocations: 75.11 kB / 0.9282 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6554, allocations: 4 kB / 0.9282 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6554, allocations: 0 / 0.9282 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.6554, allocations: 0 / 0.9282 GB, free: 2.77 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.0004396/0.6559, allocations: 342.2 kB / 0.9286 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.6559, allocations: 7.438 kB / 0.9286 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.047e-05/0.6559, allocations: 33.62 kB / 0.9286 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002078/0.6561, allocations: 25.48 kB / 0.9286 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.6563, allocations: 167.8 kB / 0.9288 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.647e-05/0.6563, allocations: 30.44 kB / 0.9288 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.6563, allocations: 2.094 kB / 0.9288 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.6565, allocations: 50.38 kB / 0.9289 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.6565, allocations: 0 / 0.9289 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.6565, allocations: 2.219 kB / 0.9289 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.6565, allocations: 0.6094 kB / 0.9289 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.145e-05/0.6566, allocations: 21.94 kB / 0.9289 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.6569, allocations: 261.8 kB / 0.9291 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 2.498e-05/0.657, allocations: 21.61 kB / 0.9292 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.239e-05/0.657, allocations: 5.469 kB / 0.9292 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.657, allocations: 2.281 kB / 0.9292 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.657, allocations: 31.36 kB / 0.9292 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/0.657, allocations: 5.125 kB / 0.9292 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001212/0.6572, allocations: 35.3 kB / 0.9292 GB, free: 17.72 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.6572, allocations: 59.25 kB / 0.9293 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.95e-05/0.6573, allocations: 109.2 kB / 0.9294 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.6573, allocations: 28.2 kB / 0.9294 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.182e-05/0.6573, allocations: 90.5 kB / 0.9295 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.21e-06/0.6574, allocations: 2.625 kB / 0.9295 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.6574, allocations: 16.84 kB / 0.9295 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.017e-05/0.6575, allocations: 316.1 kB / 0.9298 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.607e-05/0.6575, allocations: 7.5 kB / 0.9298 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.927e-05/0.6575, allocations: 20.86 kB / 0.9299 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.293e-05/0.6576, allocations: 33.22 kB / 0.9299 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6576, allocations: 0.5625 kB / 0.9299 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.793e-05/0.6577, allocations: 62.36 kB / 0.9299 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.6577, allocations: 6.5 kB / 0.9299 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.6577, allocations: 0 / 0.9299 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.6577, allocations: 3.828 kB / 0.93 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.426e-05/0.6578, allocations: 6.703 kB / 0.93 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.6578, allocations: 14.25 kB / 0.93 GB, free: 17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.777e-05/0.6578, allocations: 0 / 0.93 GB, free: 17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.6578, allocations: 3.469 kB / 0.93 GB, free: 17 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 6.641e-05/0.6579, allocations: 114.5 kB / 0.9301 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.6579, allocations: 0 / 0.9301 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.658e-05/0.658, allocations: 9.516 kB / 0.9301 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.658, allocations: 0.7031 kB / 0.9301 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.658, allocations: 3.938 kB / 0.9301 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.658, allocations: 0 / 0.9301 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.6582, allocations: 343.1 kB / 0.9304 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.6582, allocations: 1.938 kB / 0.9304 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.348e-05/0.6582, allocations: 4.688 kB / 0.9304 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.6582, allocations: 6.25 kB / 0.9304 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-06/0.6582, allocations: 4.547 kB / 0.9304 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.6583, allocations: 0 / 0.9304 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6583, allocations: 0 / 0.9304 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.331e-05/0.6583, allocations: 62.55 kB / 0.9305 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.542e-05/0.6584, allocations: 81.7 kB / 0.9306 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.6584, allocations: 4.781 kB / 0.9306 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.432e-05/0.6585, allocations: 5.125 kB / 0.9306 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.34e-05/0.6585, allocations: 3.391 kB / 0.9306 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.6585, allocations: 0 / 0.9306 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.383e-05/0.6585, allocations: 86.19 kB / 0.9307 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6585, allocations: 0 / 0.9307 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001938/0.6587, allocations: 6.312 kB / 0.9307 GB, free: 16.24 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.000282/0.659, allocations: 0.6045 MB / 0.9313 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.21e-05/0.6591, allocations: 15.05 kB / 0.9313 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6591, allocations: 0 / 0.9313 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.942e-06/0.6591, allocations: 6.656 kB / 0.9313 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.6594, allocations: 8.297 kB / 0.9313 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002982/0.6597, allocations: 145.5 kB / 0.9314 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.6599, allocations: 0.6768 MB / 0.9321 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.988e-05/0.6599, allocations: 8.344 kB / 0.9321 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.66, allocations: 10.92 kB / 0.9321 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.66, allocations: 0 / 0.9321 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01539/0.6754, allocations: 1.297 MB / 0.9334 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.884/10.56, allocations: 12.56 kB / 0.9334 GB, free: 14.45 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)