Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.0007407/0.0007407, 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.0007173/0.0007173, allocations: 170.3 kB / 23.97 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.8639/0.8639, allocations: 177.1 MB / 204.3 MB, free: 5.738 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.5447/0.5447, allocations: 114 MB / 374.7 MB, free: 8.711 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.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.5554 GB, free: 1.238 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.041e-05, allocations: 3.969 kB / 0.5554 GB, free: 1.234 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001657/0.001677, allocations: 1.287 MB / 0.5566 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3813/0.383, allocations: 129.1 MB / 0.6827 GB, free: 7.629 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.356e-05/0.383, allocations: 0 / 0.6827 GB, free: 7.629 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.205e-05/0.3831, allocations: 2.156 kB / 0.6827 GB, free: 7.629 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.822e-05/0.3831, allocations: 3.25 kB / 0.6827 GB, free: 7.629 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.3835, allocations: 102.7 kB / 0.6828 GB, free: 7.613 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.021e-05/0.3835, allocations: 34.31 kB / 0.6828 GB, free: 7.613 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.764e-05/0.3836, allocations: 2.219 kB / 0.6828 GB, free: 7.613 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.134e-05/0.3836, allocations: 22.45 kB / 0.6829 GB, free: 7.613 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.424e-05/0.3837, allocations: 12.92 kB / 0.6829 GB, free: 7.613 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.3837, allocations: 2.125 kB / 0.6829 GB, free: 7.613 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.3839, allocations: 79.39 kB / 0.6829 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.3839, allocations: 6.688 kB / 0.683 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.384, allocations: 14.16 kB / 0.683 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.3841, allocations: 76.47 kB / 0.683 GB, free: 7.594 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3841, allocations: 0.5625 kB / 0.683 GB, free: 7.594 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3841, allocations: 0 / 0.683 GB, free: 7.594 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.3841, allocations: 0.5312 kB / 0.683 GB, free: 7.594 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002864/0.3844, allocations: 279.7 kB / 0.6833 GB, free: 7.324 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3845, allocations: 9.438 kB / 0.6833 GB, free: 7.324 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.3846, allocations: 16.19 kB / 0.6833 GB, free: 7.32 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.686e-05/0.3846, allocations: 104.1 kB / 0.6834 GB, free: 7.195 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.3846, allocations: 6.906 kB / 0.6834 GB, free: 7.195 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.3847, allocations: 8.125 kB / 0.6834 GB, free: 7.191 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.3848, allocations: 133 kB / 0.6836 GB, free: 7.062 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3848, allocations: 0.5 kB / 0.6836 GB, free: 7.062 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.3848, allocations: 0.6875 kB / 0.6836 GB, free: 7.062 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3848, allocations: 1.594 kB / 0.6836 GB, free: 7.062 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.394e-05/0.3848, allocations: 16.42 kB / 0.6836 GB, free: 7.062 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.279e-05/0.3849, allocations: 113 kB / 0.6837 GB, free: 6.938 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.95e-05/0.385, allocations: 48.83 kB / 0.6837 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.74e-05/0.385, allocations: 14.23 kB / 0.6838 GB, free: 6.902 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.385, allocations: 4.141 kB / 0.6838 GB, free: 6.902 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.3851, allocations: 38.92 kB / 0.6838 GB, free: 6.859 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 6.31e-07/0.3851, allocations: 0 / 0.6838 GB, free: 6.859 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.0005454/0.3856, allocations: 301.6 kB / 0.6841 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.3856, allocations: 53.22 kB / 0.6841 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.822e-05/0.3857, allocations: 97.86 kB / 0.6842 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.714e-06/0.3857, allocations: 26.8 kB / 0.6843 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 9.909e-06/0.3857, allocations: 83.77 kB / 0.6843 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.3857, allocations: 42.42 kB / 0.6844 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.3858, allocations: 31.05 kB / 0.6844 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.98e-05/0.3858, allocations: 318.7 kB / 0.6847 GB, free: 6.051 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.378e-05/0.3858, allocations: 19.91 kB / 0.6847 GB, free: 6.051 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.925e-05/0.3859, allocations: 35.2 kB / 0.6848 GB, free: 6.035 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.281e-05/0.386, allocations: 58.53 kB / 0.6848 GB, free: 6.02 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.386, allocations: 0.5625 kB / 0.6848 GB, free: 6.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001201/0.3861, allocations: 103.4 kB / 0.6849 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3861, allocations: 5.562 kB / 0.6849 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3861, allocations: 0.5312 kB / 0.6849 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3861, allocations: 1.094 kB / 0.6849 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.3862, allocations: 27.75 kB / 0.685 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3862, allocations: 9.125 kB / 0.685 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.3862, allocations: 3.594 kB / 0.685 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.3863, allocations: 3.281 kB / 0.685 GB, free: 5.969 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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.009e-05/0.3863, allocations: 115.5 kB / 0.6851 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.3863, allocations: 10.77 kB / 0.6851 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.3863, allocations: 11.94 kB / 0.6851 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3863, allocations: 2.094 kB / 0.6851 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3863, allocations: 0.5 kB / 0.6851 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3863, allocations: 3.062 kB / 0.6851 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.388e-05/0.3864, allocations: 110.7 kB / 0.6852 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3864, allocations: 4.5 kB / 0.6852 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.136e-05/0.3865, allocations: 26.67 kB / 0.6852 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3865, allocations: 4.438 kB / 0.6852 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.3865, allocations: 1.219 kB / 0.6852 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3865, allocations: 0.5 kB / 0.6852 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3865, allocations: 1.594 kB / 0.6852 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.3867, allocations: 135.6 kB / 0.6854 GB, free: 5.641 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.3867, allocations: 10.5 kB / 0.6854 GB, free: 5.637 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.3867, allocations: 4.844 kB / 0.6854 GB, free: 5.637 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.279e-05/0.3868, allocations: 4.656 kB / 0.6854 GB, free: 5.637 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/0.3868, allocations: 11.56 kB / 0.6854 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.3868, allocations: 6.188 kB / 0.6854 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.084e-05/0.3868, allocations: 77.66 kB / 0.6855 GB, free: 5.559 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.3868, allocations: 0 / 0.6855 GB, free: 5.559 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001317/0.3869, allocations: 19.47 kB / 0.6855 GB, free: 5.555 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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 7.835e-05/0.387, allocations: 97.78 kB / 0.6856 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.896e-05/0.3871, allocations: 52.92 kB / 0.6856 GB, free: 5.465 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.3871, allocations: 0 / 0.6856 GB, free: 5.465 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.474e-05/0.3871, allocations: 28.38 kB / 0.6857 GB, free: 5.465 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.3873, allocations: 13.67 kB / 0.6857 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.3876, allocations: 290.5 kB / 0.686 GB, free: 5.23 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.174e-05/0.3877, allocations: 67.33 kB / 0.686 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.3877, allocations: 14.22 kB / 0.686 GB, free: 5.152 MB / 0.5573 GB Notification: Performance of SimCode: time 3.2e-07/0.3877, allocations: 4 kB / 0.686 GB, free: 5.148 MB / 0.5573 GB Notification: Performance of Templates: time 0.001532/0.3892, allocations: 0.8564 MB / 0.6869 GB, free: 5.098 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.97612111736089] Failed to read output from testmodel.py, exit status != 0: 0.3940489934757352 0.40115042199999995 0.015656123 Calling exit ...