Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007293/0.0007293, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007125/0.0007125, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.7994/0.7994, allocations: 177.1 MB / 203.5 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001331/0.001331, allocations: 226.8 kB / 260.2 MB, free: 12.87 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6419/0.6419, allocations: 138.4 MB / 455.1 MB, free: 30.02 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.6475 GB, free: 1.41 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.985e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001422/0.001442, allocations: 1.297 MB / 0.6488 GB, free: 104 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.3582/0.3596, allocations: 129.1 MB / 0.7748 GB, free: 8.461 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.318e-05/0.3597, allocations: 0 / 0.7748 GB, free: 8.461 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.607e-05/0.3597, allocations: 3.938 kB / 0.7748 GB, free: 8.457 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.474e-05/0.3598, allocations: 11.92 kB / 0.7748 GB, free: 8.445 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.3601, allocations: 95.44 kB / 0.7749 GB, free: 8.352 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.141e-05/0.3602, allocations: 35.86 kB / 0.775 GB, free: 8.316 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.746e-05/0.3602, allocations: 7.984 kB / 0.775 GB, free: 8.309 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.049e-05/0.3603, allocations: 19.97 kB / 0.775 GB, free: 8.289 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.135e-05/0.3603, allocations: 11.98 kB / 0.775 GB, free: 8.277 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.3603, allocations: 0 / 0.775 GB, free: 8.277 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.3605, allocations: 75.77 kB / 0.7751 GB, free: 8.203 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.3605, allocations: 15.91 kB / 0.7751 GB, free: 8.188 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.3605, allocations: 12 kB / 0.7751 GB, free: 8.176 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.3607, allocations: 71.8 kB / 0.7752 GB, free: 8.105 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3607, allocations: 0 / 0.7752 GB, free: 8.105 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3607, allocations: 0 / 0.7752 GB, free: 8.105 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.3607, allocations: 0 / 0.7752 GB, free: 8.105 MB / 0.6042 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.0003132/0.361, allocations: 278.1 kB / 0.7754 GB, free: 7.805 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.361, allocations: 12.75 kB / 0.7754 GB, free: 7.793 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.3611, allocations: 12.03 kB / 0.7754 GB, free: 7.785 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.519e-05/0.3612, allocations: 105.8 kB / 0.7755 GB, free: 7.656 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.3612, allocations: 12.36 kB / 0.7756 GB, free: 7.645 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.3612, allocations: 4.375 kB / 0.7756 GB, free: 7.641 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.3614, allocations: 130.7 kB / 0.7757 GB, free: 7.488 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-06/0.3614, allocations: 4 kB / 0.7757 GB, free: 7.484 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3614, allocations: 0 / 0.7757 GB, free: 7.484 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3614, allocations: 0 / 0.7757 GB, free: 7.484 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.781e-05/0.3614, allocations: 15.98 kB / 0.7757 GB, free: 7.469 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001129/0.3615, allocations: 114.7 kB / 0.7758 GB, free: 7.328 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.531e-05/0.3616, allocations: 50.5 kB / 0.7759 GB, free: 7.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.943e-05/0.3616, allocations: 8.859 kB / 0.7759 GB, free: 7.258 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.3616, allocations: 4 kB / 0.7759 GB, free: 7.254 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.3617, allocations: 46.48 kB / 0.7759 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 5.41e-07/0.3617, allocations: 0.6562 kB / 0.7759 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0005213/0.3622, allocations: 294.9 kB / 0.7762 GB, free: 6.879 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.3622, allocations: 55.41 kB / 0.7763 GB, free: 6.812 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.549e-05/0.3623, allocations: 89.86 kB / 0.7763 GB, free: 6.715 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.3623, allocations: 29.7 kB / 0.7764 GB, free: 6.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.121e-05/0.3623, allocations: 84.27 kB / 0.7765 GB, free: 6.594 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.3623, allocations: 47.58 kB / 0.7765 GB, free: 6.547 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.3624, allocations: 31.39 kB / 0.7765 GB, free: 6.512 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.159e-05/0.3624, allocations: 314.8 kB / 0.7768 GB, free: 6.195 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.462e-05/0.3625, allocations: 19.98 kB / 0.7768 GB, free: 6.176 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.6e-05/0.3625, allocations: 45.64 kB / 0.7769 GB, free: 6.125 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.22e-05/0.3626, allocations: 53.86 kB / 0.7769 GB, free: 6.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3626, allocations: 0 / 0.7769 GB, free: 6.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.794e-05/0.3626, allocations: 97.55 kB / 0.777 GB, free: 5.969 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3627, allocations: 11.98 kB / 0.777 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.3627, allocations: 0 / 0.777 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.3627, allocations: 4 kB / 0.777 GB, free: 5.953 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.993e-05/0.3627, allocations: 25.06 kB / 0.7771 GB, free: 5.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.3628, allocations: 0 / 0.7771 GB, free: 5.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.639e-05/0.3628, allocations: 0 / 0.7771 GB, free: 5.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.3628, allocations: 4 kB / 0.7771 GB, free: 5.926 MB / 0.6042 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 5.596e-05/0.3628, allocations: 122.4 kB / 0.7772 GB, free: 5.797 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.3628, allocations: 11.89 kB / 0.7772 GB, free: 5.785 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.444e-05/0.3629, allocations: 11.97 kB / 0.7772 GB, free: 5.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3629, allocations: 3.984 kB / 0.7772 GB, free: 5.766 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3629, allocations: 2.156 kB / 0.7772 GB, free: 5.766 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3629, allocations: 4 kB / 0.7772 GB, free: 5.762 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.329e-05/0.3629, allocations: 123.6 kB / 0.7773 GB, free: 5.613 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3629, allocations: 0 / 0.7773 GB, free: 5.613 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.881e-05/0.363, allocations: 19.94 kB / 0.7774 GB, free: 5.594 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.363, allocations: 0 / 0.7774 GB, free: 5.594 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.363, allocations: 4 kB / 0.7774 GB, free: 5.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.363, allocations: 0 / 0.7774 GB, free: 5.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.363, allocations: 7.922 kB / 0.7774 GB, free: 5.582 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.3632, allocations: 133 kB / 0.7775 GB, free: 5.434 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.582e-05/0.3632, allocations: 7.938 kB / 0.7775 GB, free: 5.426 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.3632, allocations: 4.031 kB / 0.7775 GB, free: 5.422 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.234e-05/0.3633, allocations: 12 kB / 0.7775 GB, free: 5.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/0.3633, allocations: 3.984 kB / 0.7775 GB, free: 5.406 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.3633, allocations: 4 kB / 0.7775 GB, free: 5.402 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.968e-05/0.3633, allocations: 75.28 kB / 0.7776 GB, free: 5.328 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.3633, allocations: 4 kB / 0.7776 GB, free: 5.324 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001254/0.3634, allocations: 16 kB / 0.7776 GB, free: 5.309 MB / 0.6042 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 8.122e-05/0.3635, allocations: 99.25 kB / 0.7777 GB, free: 5.203 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.382e-05/0.3636, allocations: 55.84 kB / 0.7778 GB, free: 5.148 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.3636, allocations: 4.094 kB / 0.7778 GB, free: 5.145 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.194e-05/0.3636, allocations: 23.94 kB / 0.7778 GB, free: 5.121 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.3638, allocations: 8.656 kB / 0.7778 GB, free: 5.113 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.3642, allocations: 288.9 kB / 0.7781 GB, free: 4.805 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.907e-05/0.3642, allocations: 71.34 kB / 0.7781 GB, free: 4.715 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.3642, allocations: 16.5 kB / 0.7782 GB, free: 4.703 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/0.3642, allocations: 0 / 0.7782 GB, free: 4.703 MB / 0.6042 GB Notification: Performance of Templates: time 0.001476/0.3657, allocations: 0.8582 MB / 0.779 GB, free: 3.852 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.890733410604298] Failed to read output from testmodel.py, exit status != 0: 0.3717019194737077 0.37877318299999996 0.016583376 Calling exit ...