Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_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.007067/0.007067, allocations: 100.8 kB / 15.87 MB, free: 6.32 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.001725/0.001725, allocations: 197.5 kB / 16.79 MB, free: 6.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6752/0.6752, allocations: 115.3 MB / 406 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 61 kB / 493 MB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1273, allocations: 76.18 MB / 0.5558 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.3822/0.5096, allocations: 145.6 MB / 0.698 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000124/0.5097, allocations: 60.92 kB / 0.6981 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.723e-05/0.5098, allocations: 0 / 0.6981 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.628e-05/0.5099, allocations: 4 kB / 0.6981 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.816e-05/0.51, allocations: 11.91 kB / 0.6981 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.5104, allocations: 100.3 kB / 0.6982 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.543e-05/0.5105, allocations: 55.83 kB / 0.6982 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.387e-05/0.5105, allocations: 7.984 kB / 0.6982 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.953e-05/0.5106, allocations: 19.92 kB / 0.6982 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.06e-05/0.5106, allocations: 8 kB / 0.6983 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.5107, allocations: 0 / 0.6983 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.5109, allocations: 83.7 kB / 0.6983 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.444e-05/0.511, allocations: 4 kB / 0.6983 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.511, allocations: 19.91 kB / 0.6984 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.5112, allocations: 69.11 kB / 0.6984 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5112, allocations: 4 kB / 0.6984 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of FrontEnd: time 8.21e-07/0.5112, allocations: 0 / 0.6984 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.5112, allocations: 0 / 0.6984 GB, free: 4.965 MB / 0.5137 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.000355/0.5116, allocations: 344.3 kB / 0.6988 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.5116, allocations: 8.031 kB / 0.6988 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.62e-05/0.5116, allocations: 34.75 kB / 0.6988 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/0.5119, allocations: 22.61 kB / 0.6988 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.512, allocations: 164.4 kB / 0.699 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.595e-05/0.5121, allocations: 37.58 kB / 0.699 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.5121, allocations: 0 / 0.699 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.5122, allocations: 49.67 kB / 0.6991 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.5122, allocations: 0 / 0.6991 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.5122, allocations: 3.984 kB / 0.6991 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.5122, allocations: 0 / 0.6991 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.299e-05/0.5123, allocations: 19.98 kB / 0.6991 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.5127, allocations: 260.9 kB / 0.6993 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.217e-05/0.5127, allocations: 18.52 kB / 0.6993 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.475e-05/0.5127, allocations: 8.922 kB / 0.6994 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-06/0.5128, allocations: 0 / 0.6994 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.5128, allocations: 30.56 kB / 0.6994 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 2.034e-06/0.5128, allocations: 7.984 kB / 0.6994 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001226/0.5129, allocations: 41.69 kB / 0.6994 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.513, allocations: 59.28 kB / 0.6995 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.738e-05/0.513, allocations: 101.9 kB / 0.6996 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.5131, allocations: 25.7 kB / 0.6996 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.5131, allocations: 99.81 kB / 0.6997 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.016e-06/0.5131, allocations: 8 kB / 0.6997 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.5132, allocations: 9.719 kB / 0.6997 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.541e-05/0.5133, allocations: 319 kB / 0.7 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.5133, allocations: 11.92 kB / 0.7 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-05/0.5133, allocations: 22.58 kB / 0.7001 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.877e-05/0.5134, allocations: 30.52 kB / 0.7001 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5134, allocations: 0.5 kB / 0.7001 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.132e-05/0.5135, allocations: 61.53 kB / 0.7001 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.5135, allocations: 5.875 kB / 0.7002 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.5135, allocations: 0 / 0.7002 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.5135, allocations: 4 kB / 0.7002 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.693e-05/0.5136, allocations: 8.859 kB / 0.7002 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.5136, allocations: 3.938 kB / 0.7002 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.901e-05/0.5136, allocations: 4 kB / 0.7002 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.5136, allocations: 0 / 0.7002 GB, free: 2.926 MB / 0.5137 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 7.068e-05/0.5137, allocations: 117.9 kB / 0.7003 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.5137, allocations: 0 / 0.7003 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.4e-05/0.5137, allocations: 3.125 kB / 0.7003 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.5138, allocations: 4 kB / 0.7003 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5138, allocations: 3.938 kB / 0.7003 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.5138, allocations: 0 / 0.7003 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.514, allocations: 350.6 kB / 0.7006 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.514, allocations: 0 / 0.7006 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.33e-05/0.5141, allocations: 4.031 kB / 0.7006 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.5141, allocations: 3.938 kB / 0.7006 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.5141, allocations: 4 kB / 0.7006 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5141, allocations: 0 / 0.7006 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5141, allocations: 0 / 0.7006 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.376e-05/0.5142, allocations: 64.97 kB / 0.7007 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.5142, allocations: 85.05 kB / 0.7008 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.5142, allocations: 32 / 0.7008 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.089e-05/0.5143, allocations: 4 kB / 0.7008 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-06/0.5143, allocations: 4 kB / 0.7008 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.5143, allocations: 3.984 kB / 0.7008 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.682e-05/0.5144, allocations: 83.28 kB / 0.7009 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5144, allocations: 0 / 0.7009 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001922/0.5146, allocations: 8 kB / 0.7009 GB, free: 2.098 MB / 0.5137 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.0002821/0.5149, allocations: 0.5968 MB / 0.7015 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.317e-05/0.5149, allocations: 15.94 kB / 0.7015 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5149, allocations: 7.875 kB / 0.7015 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.93e-06/0.515, allocations: 0 / 0.7015 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.5152, allocations: 7.984 kB / 0.7015 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.5155, allocations: 154.1 kB / 0.7016 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.5157, allocations: 0.677 MB / 0.7023 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.479e-05/0.5158, allocations: 4 kB / 0.7023 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.5158, allocations: 7.438 kB / 0.7023 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.5158, allocations: 0 / 0.7023 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01322/0.529, allocations: 1.213 MB / 0.7035 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.5292, allocations: 230.5 kB / 0.7037 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/2.178, allocations: 0 / 0.7037 GB, free: 15.23 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)