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.001438/0.001438, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001639/0.001639, allocations: 210.5 kB / 22.24 MB, free: 4.859 MB / 14.72 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 1.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.002634/0.002634, allocations: 290.6 kB / 312.7 MB, free: 2.613 MB / 238.1 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 1.287/1.287, allocations: 180.6 MB / 0.5369 GB, free: 14.56 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00303/0.00303, allocations: 107.3 kB / 0.74 GB, free: 27.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.184, allocations: 95.38 MB / 0.8331 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002309/0.1863, allocations: 1.291 MB / 0.8344 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1706/0.3569, allocations: 129 MB / 0.9604 GB, free: 4.996 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/0.3569, allocations: 0 / 0.9604 GB, free: 4.996 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 2.885e-05/0.357, allocations: 3.938 kB / 0.9604 GB, free: 4.992 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 6.214e-05/0.357, allocations: 15.91 kB / 0.9604 GB, free: 4.977 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005613/0.3576, allocations: 91.58 kB / 0.9605 GB, free: 4.887 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.3577, allocations: 27.92 kB / 0.9605 GB, free: 4.859 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 5.435e-05/0.3577, allocations: 15.92 kB / 0.9605 GB, free: 4.844 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 5.461e-05/0.3578, allocations: 15.98 kB / 0.9606 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 7.06e-05/0.3579, allocations: 7.938 kB / 0.9606 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.3579, allocations: 7.938 kB / 0.9606 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002995/0.3582, allocations: 83.75 kB / 0.9606 GB, free: 4.73 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 1.841e-05/0.3582, allocations: 4 kB / 0.9607 GB, free: 4.727 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.3582, allocations: 23.91 kB / 0.9607 GB, free: 4.703 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.3584, allocations: 63.77 kB / 0.9607 GB, free: 4.641 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3584, allocations: 0 / 0.9607 GB, free: 4.641 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3584, allocations: 0 / 0.9607 GB, free: 4.641 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.3584, allocations: 0 / 0.9607 GB, free: 4.641 MB / 0.7012 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.00045/0.3589, allocations: 279.8 kB / 0.961 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3589, allocations: 8.75 kB / 0.961 GB, free: 4.332 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002197/0.3592, allocations: 12.89 kB / 0.961 GB, free: 4.32 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.3593, allocations: 114.5 kB / 0.9611 GB, free: 4.184 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.3593, allocations: 3.938 kB / 0.9611 GB, free: 4.18 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.3593, allocations: 8 kB / 0.9611 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.3595, allocations: 122.8 kB / 0.9613 GB, free: 4.027 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3595, allocations: 0 / 0.9613 GB, free: 4.027 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.3596, allocations: 4 kB / 0.9613 GB, free: 4.023 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3596, allocations: 4 kB / 0.9613 GB, free: 4.02 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.475e-05/0.3596, allocations: 19.92 kB / 0.9613 GB, free: 4 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.3598, allocations: 109.3 kB / 0.9614 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.3599, allocations: 46.58 kB / 0.9614 GB, free: 3.809 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.76e-05/0.3599, allocations: 24.98 kB / 0.9615 GB, free: 3.781 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.36, allocations: 7.969 kB / 0.9615 GB, free: 3.773 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.36, allocations: 30.56 kB / 0.9615 GB, free: 3.734 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.36, allocations: 0 / 0.9615 GB, free: 3.734 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.0008008/0.3608, allocations: 305 kB / 0.9618 GB, free: 3.402 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.3608, allocations: 51.41 kB / 0.9618 GB, free: 3.34 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.03e-05/0.3609, allocations: 89.86 kB / 0.9619 GB, free: 3.242 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.3609, allocations: 29.7 kB / 0.962 GB, free: 3.207 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 4.103e-05/0.361, allocations: 84.14 kB / 0.962 GB, free: 3.121 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/0.361, allocations: 43.62 kB / 0.9621 GB, free: 3.078 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.3611, allocations: 29.7 kB / 0.9621 GB, free: 3.043 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3612, allocations: 322.8 kB / 0.9624 GB, free: 2.719 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.346e-05/0.3613, allocations: 19.98 kB / 0.9624 GB, free: 2.699 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.833e-05/0.3613, allocations: 37.7 kB / 0.9625 GB, free: 2.656 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.3614, allocations: 57.78 kB / 0.9625 GB, free: 2.594 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3614, allocations: 4 kB / 0.9625 GB, free: 2.59 MB / 0.7012 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001582/0.3616, allocations: 94.28 kB / 0.9626 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3616, allocations: 4 kB / 0.9626 GB, free: 2.488 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3616, allocations: 0 / 0.9626 GB, free: 2.488 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.3616, allocations: 7.938 kB / 0.9626 GB, free: 2.48 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.3618, allocations: 23.92 kB / 0.9626 GB, free: 2.457 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3618, allocations: 0 / 0.9626 GB, free: 2.457 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.638e-05/0.3618, allocations: 8 kB / 0.9627 GB, free: 2.449 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.3618, allocations: 4 kB / 0.9627 GB, free: 2.445 MB / 0.7012 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 0.0001011/0.3619, allocations: 118.4 kB / 0.9628 GB, free: 2.32 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.3619, allocations: 7.953 kB / 0.9628 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.362, allocations: 11.91 kB / 0.9628 GB, free: 2.305 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.362, allocations: 7.938 kB / 0.9628 GB, free: 2.297 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.362, allocations: 0 / 0.9628 GB, free: 2.297 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.362, allocations: 3.938 kB / 0.9628 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.3621, allocations: 113.2 kB / 0.9629 GB, free: 2.152 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/0.3621, allocations: 0 / 0.9629 GB, free: 2.152 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.3622, allocations: 27.98 kB / 0.9629 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3622, allocations: 0 / 0.9629 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.3622, allocations: 0 / 0.9629 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3622, allocations: 4 kB / 0.9629 GB, free: 2.121 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3622, allocations: 0 / 0.9629 GB, free: 2.121 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.3625, allocations: 141 kB / 0.9631 GB, free: 1.965 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.3625, allocations: 8.031 kB / 0.9631 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.3625, allocations: 4 kB / 0.9631 GB, free: 1.953 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.837e-05/0.3626, allocations: 4 kB / 0.9631 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/0.3627, allocations: 11.92 kB / 0.9631 GB, free: 1.938 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.3627, allocations: 4 kB / 0.9631 GB, free: 1.934 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 4.2e-05/0.3627, allocations: 75.28 kB / 0.9632 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.3627, allocations: 0 / 0.9632 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002192/0.3629, allocations: 20.09 kB / 0.9632 GB, free: 1.84 MB / 0.7012 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 0.0001196/0.3631, allocations: 99.25 kB / 0.9633 GB, free: 1.73 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.3632, allocations: 55.97 kB / 0.9633 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3632, allocations: 4 kB / 0.9633 GB, free: 1.672 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 4.592e-05/0.3633, allocations: 27.92 kB / 0.9634 GB, free: 1.645 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.3635, allocations: 14.38 kB / 0.9634 GB, free: 1.633 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006836/0.3642, allocations: 333.2 kB / 0.9637 GB, free: 1.281 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.267e-05/0.3643, allocations: 71.78 kB / 0.9638 GB, free: 1.191 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 5.947e-05/0.3643, allocations: 12.66 kB / 0.9638 GB, free: 1.18 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.3644, allocations: 11.44 kB / 0.9638 GB, free: 1.168 MB / 0.7012 GB Notification: Performance of SimCode: time 5.31e-07/0.3644, allocations: 4 kB / 0.9638 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of Templates: time 0.003347/0.3677, allocations: 0.6461 MB / 0.9644 GB, free: 0.5391 MB / 0.7012 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: 6.566804111003876] Failed to read output from testmodel.py, exit status != 0: 0.3758357223123312 0.392657927 0.030876894000000002 Calling exit ...