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.0007569/0.0007569, allocations: 97.25 kB / 16.02 MB, free: 80 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.0008476/0.0008476, allocations: 183.2 kB / 16.92 MB, free: 6.754 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.342/1.342, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6854/0.6854, allocations: 115.5 MB / 407.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003105/0.0003105, allocations: 8 kB / 496 MB, free: 6.262 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1363, allocations: 77.53 MB / 0.56 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.3935/0.5298, allocations: 143.7 MB / 0.7004 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001229/0.5299, allocations: 52.98 kB / 0.7004 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.66e-05/0.53, allocations: 0 / 0.7004 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 8.573e-05/0.5301, allocations: 0 / 0.7004 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.241e-05/0.5301, allocations: 15.92 kB / 0.7005 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003991/0.5305, allocations: 99.47 kB / 0.7005 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.134e-05/0.5306, allocations: 63.75 kB / 0.7006 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.387e-05/0.5307, allocations: 0 / 0.7006 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.915e-05/0.5307, allocations: 15.98 kB / 0.7006 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.5308, allocations: 11.97 kB / 0.7006 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.5308, allocations: 4 kB / 0.7006 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002429/0.5311, allocations: 79.73 kB / 0.7007 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.5311, allocations: 11.92 kB / 0.7007 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.636e-05/0.5312, allocations: 33.69 kB / 0.7008 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.5313, allocations: 77.11 kB / 0.7008 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5313, allocations: 0 / 0.7008 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5313, allocations: 0 / 0.7008 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.5313, allocations: 0 / 0.7008 GB, free: 6.629 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.0003259/0.5317, allocations: 335.5 kB / 0.7011 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.5317, allocations: 12.03 kB / 0.7012 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.943e-05/0.5318, allocations: 35.39 kB / 0.7012 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.532, allocations: 17.7 kB / 0.7012 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.5321, allocations: 172.3 kB / 0.7014 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.466e-05/0.5322, allocations: 29.64 kB / 0.7014 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.5322, allocations: 4 kB / 0.7014 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.5323, allocations: 45.67 kB / 0.7015 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.5323, allocations: 0 / 0.7015 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.5323, allocations: 7.938 kB / 0.7015 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.5324, allocations: 0 / 0.7015 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.417e-05/0.5324, allocations: 23.92 kB / 0.7015 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.5328, allocations: 260.9 kB / 0.7017 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.428e-05/0.5328, allocations: 14.58 kB / 0.7017 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/0.5328, allocations: 8.922 kB / 0.7018 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.305e-06/0.5329, allocations: 0 / 0.7018 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.5329, allocations: 34.56 kB / 0.7018 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 2.324e-06/0.5329, allocations: 4 kB / 0.7018 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001197/0.533, allocations: 37.58 kB / 0.7018 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.5331, allocations: 59.34 kB / 0.7019 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.287e-05/0.5331, allocations: 109.8 kB / 0.702 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.5332, allocations: 25.7 kB / 0.702 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.5332, allocations: 95.89 kB / 0.7021 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.493e-06/0.5332, allocations: 3.984 kB / 0.7021 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.5333, allocations: 13.72 kB / 0.7021 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.745e-05/0.5333, allocations: 315 kB / 0.7024 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.5334, allocations: 8 kB / 0.7024 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.66e-05/0.5334, allocations: 22.56 kB / 0.7024 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.359e-05/0.5334, allocations: 30.52 kB / 0.7025 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5335, allocations: 4 kB / 0.7025 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.355e-05/0.5335, allocations: 53.62 kB / 0.7025 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.5336, allocations: 4 kB / 0.7025 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.5336, allocations: 96 / 0.7025 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.5336, allocations: 7.984 kB / 0.7025 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.605e-05/0.5337, allocations: 4 kB / 0.7025 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.5337, allocations: 3.938 kB / 0.7026 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.019e-05/0.5337, allocations: 7.906 kB / 0.7026 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-06/0.5337, allocations: 0 / 0.7026 GB, free: 4.605 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 6.901e-05/0.5338, allocations: 125.9 kB / 0.7027 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.5338, allocations: 0 / 0.7027 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.715e-05/0.5338, allocations: 7.125 kB / 0.7027 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.5339, allocations: 0 / 0.7027 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.5339, allocations: 3.938 kB / 0.7027 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.5339, allocations: 0 / 0.7027 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.5341, allocations: 342.8 kB / 0.703 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.5341, allocations: 0 / 0.703 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.405e-05/0.5341, allocations: 4.031 kB / 0.703 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.5342, allocations: 7.938 kB / 0.703 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-06/0.5342, allocations: 0 / 0.703 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5342, allocations: 0 / 0.703 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5342, allocations: 0 / 0.703 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.259e-05/0.5342, allocations: 65.02 kB / 0.7031 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.5343, allocations: 88.94 kB / 0.7032 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.5343, allocations: 3.969 kB / 0.7032 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.622e-05/0.5344, allocations: 8 kB / 0.7032 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.112e-05/0.5344, allocations: 0 / 0.7032 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-06/0.5344, allocations: 0 / 0.7032 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.321e-05/0.5345, allocations: 91.77 kB / 0.7033 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5345, allocations: 0 / 0.7033 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001957/0.5347, allocations: 8 kB / 0.7033 GB, free: 3.762 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.0002865/0.535, allocations: 0.5968 MB / 0.7039 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.333e-05/0.535, allocations: 15.98 kB / 0.7039 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.535, allocations: 0 / 0.7039 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.965e-06/0.5351, allocations: 7.938 kB / 0.7039 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.5353, allocations: 5.719 kB / 0.7039 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.5356, allocations: 151 kB / 0.704 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.5358, allocations: 0.6731 MB / 0.7047 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.486e-05/0.5359, allocations: 7.984 kB / 0.7047 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.5359, allocations: 7.438 kB / 0.7047 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.5359, allocations: 0 / 0.7047 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01311/0.549, allocations: 1.155 MB / 0.7058 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.5492, allocations: 231.2 kB / 0.7061 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/2.199, allocations: 0 / 0.7061 GB, free: 0.9883 MB / 0.5137 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)