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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000955/0.000955, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9484/0.9484, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.595/0.595, allocations: 114 MB / 373.9 MB, free: 8.699 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 0.5542 GB, free: 1.691 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.883e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.688 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4378/0.4379, allocations: 130 MB / 0.6811 GB, free: 7.184 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001657/0.438, allocations: 54.92 kB / 0.6812 GB, free: 7.176 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.837e-05/0.4381, allocations: 0 / 0.6812 GB, free: 7.176 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.4382, allocations: 7.531 kB / 0.6812 GB, free: 7.172 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.878e-05/0.4383, allocations: 14.28 kB / 0.6812 GB, free: 7.168 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.4388, allocations: 109.3 kB / 0.6813 GB, free: 7.16 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.4389, allocations: 33.78 kB / 0.6813 GB, free: 7.16 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.027e-05/0.4389, allocations: 3.734 kB / 0.6813 GB, free: 7.16 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.279e-05/0.439, allocations: 19.84 kB / 0.6813 GB, free: 7.16 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.277e-05/0.4391, allocations: 13.83 kB / 0.6813 GB, free: 7.16 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.4391, allocations: 1.922 kB / 0.6814 GB, free: 7.16 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000224/0.4393, allocations: 81.14 kB / 0.6814 GB, free: 7.145 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.4394, allocations: 9.922 kB / 0.6814 GB, free: 7.145 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.4394, allocations: 9.453 kB / 0.6814 GB, free: 7.145 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.4396, allocations: 72.06 kB / 0.6815 GB, free: 7.141 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4396, allocations: 0.8125 kB / 0.6815 GB, free: 7.141 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4396, allocations: 0 / 0.6815 GB, free: 7.141 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.4396, allocations: 0.75 kB / 0.6815 GB, free: 7.141 MB / 0.5573 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.0003277/0.4399, allocations: 259.2 kB / 0.6818 GB, free: 6.883 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.4399, allocations: 10.89 kB / 0.6818 GB, free: 6.883 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.729e-05/0.44, allocations: 34.83 kB / 0.6818 GB, free: 6.844 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001875/0.4402, allocations: 25.23 kB / 0.6818 GB, free: 6.836 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.422e-05/0.4402, allocations: 105.6 kB / 0.6819 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.516e-05/0.4403, allocations: 53.34 kB / 0.682 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.4403, allocations: 5.688 kB / 0.682 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.4405, allocations: 78.06 kB / 0.6821 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4405, allocations: 0 / 0.6821 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.4405, allocations: 1.062 kB / 0.6821 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.4405, allocations: 8.156 kB / 0.6821 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.881e-05/0.4406, allocations: 19.62 kB / 0.6821 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.4409, allocations: 225.4 kB / 0.6823 GB, free: 6.344 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.364e-05/0.441, allocations: 16.2 kB / 0.6823 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.953e-05/0.441, allocations: 6.109 kB / 0.6823 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.206e-06/0.441, allocations: 0.5625 kB / 0.6823 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.441, allocations: 43.44 kB / 0.6824 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.834e-06/0.441, allocations: 0 / 0.6824 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001676/0.4412, allocations: 35.28 kB / 0.6824 GB, free: 6.234 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.4412, allocations: 55.97 kB / 0.6825 GB, free: 6.168 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.923e-05/0.4413, allocations: 116.9 kB / 0.6826 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.4413, allocations: 26.27 kB / 0.6826 GB, free: 6.031 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.217e-05/0.4413, allocations: 89.28 kB / 0.6827 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.066e-06/0.4413, allocations: 4.984 kB / 0.6827 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.4413, allocations: 18.25 kB / 0.6827 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.43e-05/0.4414, allocations: 315.9 kB / 0.683 GB, free: 5.609 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/0.4414, allocations: 12.25 kB / 0.683 GB, free: 5.609 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.749e-05/0.4414, allocations: 24.08 kB / 0.683 GB, free: 5.582 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.096e-05/0.4415, allocations: 32.97 kB / 0.6831 GB, free: 5.555 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4415, allocations: 0.5938 kB / 0.6831 GB, free: 5.555 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.229e-05/0.4416, allocations: 58.42 kB / 0.6831 GB, free: 5.52 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.4416, allocations: 5.156 kB / 0.6831 GB, free: 5.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.4416, allocations: 0.6875 kB / 0.6831 GB, free: 5.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.4416, allocations: 1.031 kB / 0.6831 GB, free: 5.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.737e-05/0.4417, allocations: 10.06 kB / 0.6831 GB, free: 5.516 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.4417, allocations: 1.094 kB / 0.6831 GB, free: 5.516 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.306e-05/0.4417, allocations: 5.656 kB / 0.6831 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-06/0.4417, allocations: 5.5 kB / 0.6832 GB, free: 5.508 MB / 0.5573 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 4.619e-05/0.4418, allocations: 118.7 kB / 0.6833 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.67e-05/0.4418, allocations: 5.609 kB / 0.6833 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.917e-05/0.4418, allocations: 7.375 kB / 0.6833 GB, free: 5.379 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.4418, allocations: 1.766 kB / 0.6833 GB, free: 5.379 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4418, allocations: 2.344 kB / 0.6833 GB, free: 5.379 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4418, allocations: 0.5 kB / 0.6833 GB, free: 5.379 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.442, allocations: 316.8 kB / 0.6836 GB, free: 5.031 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.442, allocations: 1.766 kB / 0.6836 GB, free: 5.031 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.846e-06/0.442, allocations: 5.656 kB / 0.6836 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.442, allocations: 0.6562 kB / 0.6836 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.442, allocations: 0.6875 kB / 0.6836 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.442, allocations: 3.938 kB / 0.6836 GB, free: 5.023 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.442, allocations: 0.7188 kB / 0.6836 GB, free: 5.023 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.618e-05/0.442, allocations: 58.97 kB / 0.6837 GB, free: 4.961 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-06/0.442, allocations: 2.75 kB / 0.6837 GB, free: 4.961 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.442, allocations: 4.125 kB / 0.6837 GB, free: 4.961 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.72e-05/0.4421, allocations: 8.969 kB / 0.6837 GB, free: 4.957 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.4421, allocations: 4.594 kB / 0.6837 GB, free: 4.953 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.4421, allocations: 0.5 kB / 0.6837 GB, free: 4.953 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.224e-05/0.4421, allocations: 85.73 kB / 0.6838 GB, free: 4.879 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.4421, allocations: 0 / 0.6838 GB, free: 4.879 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001281/0.4423, allocations: 6.344 kB / 0.6838 GB, free: 4.879 MB / 0.5573 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.0001726/0.4424, allocations: 0.5975 MB / 0.6843 GB, free: 4.281 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.14e-05/0.4425, allocations: 14.94 kB / 0.6844 GB, free: 4.277 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4425, allocations: 1.891 kB / 0.6844 GB, free: 4.277 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.079e-06/0.4425, allocations: 8.625 kB / 0.6844 GB, free: 4.273 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.4427, allocations: 6.688 kB / 0.6844 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.443, allocations: 132.7 kB / 0.6845 GB, free: 4.129 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.599e-05/0.4431, allocations: 59.33 kB / 0.6846 GB, free: 4.059 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.403e-05/0.4431, allocations: 6.672 kB / 0.6846 GB, free: 4.059 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.4432, allocations: 13.66 kB / 0.6846 GB, free: 4.047 MB / 0.5573 GB Notification: Performance of SimCode: time 5.21e-07/0.4432, allocations: 0.5312 kB / 0.6846 GB, free: 4.047 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.4626, allocations: 2.047 MB / 0.6866 GB, free: 3.199 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.179/7.642, allocations: 6.406 kB / 0.6866 GB, free: 3.199 MB / 0.5573 GB " [Timeout remaining time 652] (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 --stepSize=0.0004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.250597774982452] Failed to read output from testmodel.py, exit status != 0: 7.7250680373981595 7.734165253 7.292612486 Calling exit ...