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.0007315/0.0007315, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.000737/0.000737, allocations: 165.9 kB / 23.96 MB, free: 0.5977 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.8885/0.8885, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.5249/0.5249, allocations: 114 MB / 374.7 MB, free: 8.707 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: translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.5554 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.815e-05, allocations: 6.219 kB / 0.5554 GB, free: 2.301 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.3971/0.3971, allocations: 130 MB / 0.6823 GB, free: 42.37 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 9.824e-05/0.3972, allocations: 48.73 kB / 0.6824 GB, free: 42.37 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.345e-05/0.3972, allocations: 0 / 0.6824 GB, free: 42.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.3973, allocations: 12.62 kB / 0.6824 GB, free: 42.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.805e-05/0.3974, allocations: 8.625 kB / 0.6824 GB, free: 42.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.3977, allocations: 111.6 kB / 0.6825 GB, free: 42.37 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.417e-05/0.3978, allocations: 38.58 kB / 0.6826 GB, free: 42.37 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.777e-05/0.3979, allocations: 0 / 0.6826 GB, free: 42.37 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.811e-05/0.3979, allocations: 24.89 kB / 0.6826 GB, free: 42.37 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.151e-05/0.398, allocations: 11.28 kB / 0.6826 GB, free: 42.37 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.398, allocations: 2.875 kB / 0.6826 GB, free: 42.37 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.3981, allocations: 70.33 kB / 0.6827 GB, free: 42.37 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.102e-05/0.3982, allocations: 8.109 kB / 0.6827 GB, free: 42.37 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.999e-05/0.3982, allocations: 14.02 kB / 0.6827 GB, free: 42.37 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.3983, allocations: 74.11 kB / 0.6828 GB, free: 42.36 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3983, allocations: 0.625 kB / 0.6828 GB, free: 42.36 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3983, allocations: 0 / 0.6828 GB, free: 42.36 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.3983, allocations: 1.828 kB / 0.6828 GB, free: 42.36 MB / 0.6355 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.0002686/0.3986, allocations: 258.2 kB / 0.683 GB, free: 42.11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.3986, allocations: 10.81 kB / 0.683 GB, free: 42.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.3988, allocations: 22.34 kB / 0.683 GB, free: 42.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.2e-05/0.3988, allocations: 101.8 kB / 0.6831 GB, free: 41.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.255e-05/0.3989, allocations: 58.42 kB / 0.6832 GB, free: 41.92 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-06/0.3989, allocations: 384 / 0.6832 GB, free: 41.92 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.753e-05/0.399, allocations: 81.69 kB / 0.6833 GB, free: 41.85 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.399, allocations: 3.234 kB / 0.6833 GB, free: 41.85 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.399, allocations: 6.344 kB / 0.6833 GB, free: 41.85 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.399, allocations: 3.094 kB / 0.6833 GB, free: 41.85 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.729e-05/0.3991, allocations: 17.3 kB / 0.6833 GB, free: 41.85 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/0.3993, allocations: 208 kB / 0.6835 GB, free: 41.65 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 2.679e-05/0.3993, allocations: 20.41 kB / 0.6835 GB, free: 41.63 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.354e-05/0.3993, allocations: 16.28 kB / 0.6835 GB, free: 41.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.499e-06/0.3993, allocations: 0 / 0.6835 GB, free: 41.62 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.309e-05/0.3993, allocations: 30.56 kB / 0.6836 GB, free: 41.58 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 6.21e-07/0.3993, allocations: 0 / 0.6836 GB, free: 41.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 9.76e-05/0.3994, allocations: 42.98 kB / 0.6836 GB, free: 41.55 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.711e-05/0.3995, allocations: 54.41 kB / 0.6836 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.229e-05/0.3995, allocations: 107.3 kB / 0.6838 GB, free: 41.39 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.151e-06/0.3995, allocations: 26.67 kB / 0.6838 GB, free: 41.36 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.288e-05/0.3995, allocations: 90.66 kB / 0.6839 GB, free: 41.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.929e-06/0.3995, allocations: 7.891 kB / 0.6839 GB, free: 41.26 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/0.3996, allocations: 22.52 kB / 0.6839 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.559e-05/0.3996, allocations: 316.9 kB / 0.6842 GB, free: 40.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.081e-05/0.3996, allocations: 6.844 kB / 0.6842 GB, free: 40.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.686e-05/0.3996, allocations: 24.03 kB / 0.6842 GB, free: 40.91 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.41e-05/0.3996, allocations: 31.28 kB / 0.6843 GB, free: 40.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3996, allocations: 0 / 0.6843 GB, free: 40.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.264e-05/0.3997, allocations: 57.34 kB / 0.6843 GB, free: 40.85 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.3997, allocations: 6.625 kB / 0.6843 GB, free: 40.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3997, allocations: 0 / 0.6843 GB, free: 40.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3997, allocations: 4.062 kB / 0.6843 GB, free: 40.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.147e-05/0.3997, allocations: 6.328 kB / 0.6843 GB, free: 40.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3998, allocations: 2.844 kB / 0.6843 GB, free: 40.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.3998, allocations: 0.9688 kB / 0.6843 GB, free: 40.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-06/0.3998, allocations: 6.875 kB / 0.6843 GB, free: 40.85 MB / 0.6355 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 3.479e-05/0.3998, allocations: 113.3 kB / 0.6844 GB, free: 40.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.3998, allocations: 5.047 kB / 0.6844 GB, free: 40.73 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.268e-05/0.3998, allocations: 6.75 kB / 0.6845 GB, free: 40.73 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.3998, allocations: 0 / 0.6845 GB, free: 40.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3998, allocations: 0.8438 kB / 0.6845 GB, free: 40.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3998, allocations: 2.859 kB / 0.6845 GB, free: 40.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.3999, allocations: 298.1 kB / 0.6847 GB, free: 40.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3999, allocations: 3.703 kB / 0.6847 GB, free: 40.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.569e-06/0.3999, allocations: 3.5 kB / 0.6847 GB, free: 40.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-07/0.3999, allocations: 0.8438 kB / 0.6847 GB, free: 40.42 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-06/0.4, allocations: 5.094 kB / 0.6848 GB, free: 40.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4, allocations: 4.828 kB / 0.6848 GB, free: 40.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4, allocations: 0 / 0.6848 GB, free: 40.42 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 2.873e-05/0.4, allocations: 62.05 kB / 0.6848 GB, free: 40.35 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-06/0.4, allocations: 2.688 kB / 0.6848 GB, free: 40.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.4, allocations: 1.094 kB / 0.6848 GB, free: 40.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.535e-05/0.4, allocations: 7.422 kB / 0.6848 GB, free: 40.35 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-06/0.4001, allocations: 0.9375 kB / 0.6848 GB, free: 40.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.4001, allocations: 2.781 kB / 0.6848 GB, free: 40.35 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.628e-05/0.4001, allocations: 89.27 kB / 0.6849 GB, free: 40.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4001, allocations: 3.906 kB / 0.6849 GB, free: 40.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001224/0.4002, allocations: 5.844 kB / 0.6849 GB, free: 40.27 MB / 0.6355 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 5.737e-05/0.4003, allocations: 95.16 kB / 0.685 GB, free: 40.19 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.073e-05/0.4003, allocations: 18.25 kB / 0.685 GB, free: 40.19 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.4003, allocations: 0.8125 kB / 0.685 GB, free: 40.19 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.905e-06/0.4003, allocations: 2.688 kB / 0.685 GB, free: 40.19 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.4005, allocations: 7.438 kB / 0.685 GB, free: 40.19 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001877/0.4007, allocations: 134.7 kB / 0.6852 GB, free: 40.06 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.902e-05/0.4007, allocations: 59.72 kB / 0.6852 GB, free: 39.99 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.786e-05/0.4007, allocations: 12.25 kB / 0.6852 GB, free: 39.98 MB / 0.6355 GB Notification: Performance of SimCode: time 3.71e-07/0.4007, allocations: 1.094 kB / 0.6852 GB, free: 39.98 MB / 0.6355 GB Notification: Performance of Templates: time 0.00126/0.402, allocations: 0.5748 MB / 0.6858 GB, free: 39.98 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.255412093363702] Failed to read output from testmodel.py, exit status != 0: 0.407209780998528 0.41330894900000004 0.013538872 Calling exit ...