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.001003/0.001003, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007812/0.007812, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.331/1.331, allocations: 205.4 MB / 222.4 MB, free: 5.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.671/1.671, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0004945/0.0004945, allocations: 20.42 kB / 0.6744 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1913, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5164/0.7077, allocations: 143.7 MB / 0.9283 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.348e-05/0.7078, allocations: 52.03 kB / 0.9284 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.603e-05/0.7078, allocations: 0 / 0.9284 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.911e-05/0.7079, allocations: 0.7031 kB / 0.9284 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.419e-05/0.708, allocations: 15.22 kB / 0.9284 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.7084, allocations: 89.41 kB / 0.9285 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.978e-05/0.7084, allocations: 57.7 kB / 0.9285 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.408e-05/0.7085, allocations: 3.969 kB / 0.9286 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.221e-05/0.7085, allocations: 16.7 kB / 0.9286 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.893e-05/0.7086, allocations: 9.906 kB / 0.9286 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.7086, allocations: 0 / 0.9286 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002032/0.7088, allocations: 84.34 kB / 0.9287 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.624e-05/0.7089, allocations: 8.328 kB / 0.9287 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.709, allocations: 35.66 kB / 0.9287 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.7091, allocations: 71.53 kB / 0.9288 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.7091, allocations: 0 / 0.9288 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7091, allocations: 2.75 kB / 0.9288 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.337e-06/0.7091, allocations: 2.734 kB / 0.9288 GB, free: 17.86 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.0002999/0.7094, allocations: 330.5 kB / 0.9291 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.7095, allocations: 9.188 kB / 0.9291 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.457e-05/0.7095, allocations: 34.27 kB / 0.9291 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.7097, allocations: 25.31 kB / 0.9292 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.531e-05/0.7098, allocations: 166.2 kB / 0.9293 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.62e-05/0.7099, allocations: 32.61 kB / 0.9293 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.7099, allocations: 2.734 kB / 0.9293 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.71, allocations: 48.88 kB / 0.9294 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.7101, allocations: 0 / 0.9294 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.7101, allocations: 0 / 0.9294 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.7101, allocations: 3.797 kB / 0.9294 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.761e-05/0.7101, allocations: 17.94 kB / 0.9294 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.7105, allocations: 265.6 kB / 0.9297 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 2.517e-05/0.7105, allocations: 17.52 kB / 0.9297 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.29e-05/0.7105, allocations: 4.859 kB / 0.9297 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-06/0.7105, allocations: 0.9375 kB / 0.9297 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.7105, allocations: 37.5 kB / 0.9297 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.7106, allocations: 0 / 0.9297 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.000111/0.7107, allocations: 40.22 kB / 0.9298 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.7107, allocations: 56.7 kB / 0.9298 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.294e-05/0.7108, allocations: 107.7 kB / 0.9299 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.7108, allocations: 26.41 kB / 0.9299 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/0.7108, allocations: 92.55 kB / 0.93 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.571e-06/0.7108, allocations: 3.688 kB / 0.93 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.857e-05/0.7109, allocations: 13.47 kB / 0.93 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.344e-05/0.711, allocations: 320 kB / 0.9304 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/0.711, allocations: 4 kB / 0.9304 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.989e-05/0.711, allocations: 25.86 kB / 0.9304 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.008e-05/0.711, allocations: 32.16 kB / 0.9304 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.711, allocations: 4 kB / 0.9304 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.453e-05/0.7111, allocations: 53.78 kB / 0.9305 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.7111, allocations: 5.906 kB / 0.9305 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.7111, allocations: 0 / 0.9305 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.7112, allocations: 3.984 kB / 0.9305 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.162e-05/0.7112, allocations: 7.797 kB / 0.9305 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.7112, allocations: 6.562 kB / 0.9305 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.792e-05/0.7113, allocations: 4.609 kB / 0.9305 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.7113, allocations: 2.969 kB / 0.9305 GB, free: 16.09 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.467e-05/0.7114, allocations: 117.6 kB / 0.9306 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.7114, allocations: 2.469 kB / 0.9306 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.504e-05/0.7114, allocations: 6.578 kB / 0.9306 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.7114, allocations: 0 / 0.9306 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.7114, allocations: 3.938 kB / 0.9306 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.7114, allocations: 4.641 kB / 0.9306 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.7116, allocations: 344.1 kB / 0.931 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.7116, allocations: 7.469 kB / 0.931 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-05/0.7117, allocations: 3.719 kB / 0.931 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.7117, allocations: 3.938 kB / 0.931 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-06/0.7117, allocations: 0.7031 kB / 0.931 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.7117, allocations: 0 / 0.931 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.7117, allocations: 0 / 0.931 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.255e-05/0.7118, allocations: 60.83 kB / 0.931 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.346e-05/0.7118, allocations: 85.5 kB / 0.9311 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.7118, allocations: 9.766 kB / 0.9311 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.595e-05/0.7119, allocations: 4.281 kB / 0.9311 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.135e-05/0.7119, allocations: 0.6562 kB / 0.9311 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-06/0.7119, allocations: 0 / 0.9311 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.189e-05/0.712, allocations: 82.88 kB / 0.9312 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.712, allocations: 0 / 0.9312 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001977/0.7122, allocations: 10.11 kB / 0.9312 GB, free: 15.32 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.0002606/0.7124, allocations: 0.6052 MB / 0.9318 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.582e-05/0.7125, allocations: 11.92 kB / 0.9318 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7125, allocations: 0 / 0.9318 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.278e-06/0.7125, allocations: 2.969 kB / 0.9318 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.7127, allocations: 12.27 kB / 0.9318 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002942/0.713, allocations: 157.9 kB / 0.932 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.7132, allocations: 0.6755 MB / 0.9326 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.138e-05/0.7133, allocations: 4.812 kB / 0.9326 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.7133, allocations: 14.25 kB / 0.9327 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.7133, allocations: 0 / 0.9327 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009477/0.7228, allocations: 1.118 MB / 0.9338 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/0.723, allocations: 235.4 kB / 0.934 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.534, allocations: 0 / 0.934 GB, free: 13.48 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)