Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.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.001397/0.001397, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001643/0.001643, allocations: 220 kB / 22.24 MB, free: 5.109 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.793 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.002844/0.002844, allocations: 299.3 kB / 312.7 MB, free: 2.594 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.314/1.314, allocations: 180.6 MB / 0.5369 GB, free: 14.58 MB / 382.1 MB " [Timeout remaining time 178] 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.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") [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.003021/0.003021, allocations: 102.1 kB / 0.74 GB, free: 27.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1764, allocations: 95.38 MB / 0.8331 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002474/0.1789, allocations: 1.338 MB / 0.8344 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1779/0.3569, allocations: 130 MB / 0.9614 GB, free: 3.922 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.913e-05/0.3569, allocations: 4 kB / 0.9614 GB, free: 3.918 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 4.61e-05/0.3569, allocations: 3.984 kB / 0.9614 GB, free: 3.914 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.3571, allocations: 19.78 kB / 0.9614 GB, free: 3.895 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.3582, allocations: 322.7 kB / 0.9617 GB, free: 3.578 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.3583, allocations: 67.7 kB / 0.9618 GB, free: 3.512 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.3584, allocations: 8 kB / 0.9618 GB, free: 3.504 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 5.189e-05/0.3584, allocations: 31.91 kB / 0.9618 GB, free: 3.473 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.3585, allocations: 27.89 kB / 0.9619 GB, free: 3.445 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.3586, allocations: 4 kB / 0.9619 GB, free: 3.441 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000789/0.3594, allocations: 378.7 kB / 0.9622 GB, free: 3.07 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.3594, allocations: 19.97 kB / 0.9623 GB, free: 3.051 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 4.382e-05/0.3595, allocations: 27.86 kB / 0.9623 GB, free: 3.023 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.3598, allocations: 143.6 kB / 0.9624 GB, free: 2.883 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3598, allocations: 4 kB / 0.9624 GB, free: 2.879 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3598, allocations: 0 / 0.9624 GB, free: 2.879 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.3598, allocations: 0 / 0.9624 GB, free: 2.879 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000467/0.3602, allocations: 319.2 kB / 0.9627 GB, free: 2.539 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3603, allocations: 13.94 kB / 0.9627 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004042/0.3607, allocations: 40.83 kB / 0.9628 GB, free: 2.488 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.871e-05/0.3608, allocations: 106.5 kB / 0.9629 GB, free: 2.359 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.3608, allocations: 7.938 kB / 0.9629 GB, free: 2.352 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.3608, allocations: 11.95 kB / 0.9629 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.3611, allocations: 206.2 kB / 0.9631 GB, free: 2.102 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.3611, allocations: 0 / 0.9631 GB, free: 2.102 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.3611, allocations: 8 kB / 0.9631 GB, free: 2.094 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3611, allocations: 0 / 0.9631 GB, free: 2.094 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.545e-05/0.3612, allocations: 47.89 kB / 0.9631 GB, free: 2.047 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.3614, allocations: 129.2 kB / 0.9633 GB, free: 1.891 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.3616, allocations: 90.67 kB / 0.9634 GB, free: 1.793 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.078e-05/0.3617, allocations: 32.78 kB / 0.9634 GB, free: 1.758 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.3619, allocations: 23.97 kB / 0.9634 GB, free: 1.734 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.3619, allocations: 38.56 kB / 0.9634 GB, free: 1.688 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.3619, allocations: 3.938 kB / 0.9635 GB, free: 1.684 MB / 0.7012 GB Notification: Performance of matching and sorting (n=19): time 0.001342/0.3632, allocations: 477 kB / 0.9639 GB, free: 1.184 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.3633, allocations: 59.39 kB / 0.964 GB, free: 1.113 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.993e-05/0.3634, allocations: 93.86 kB / 0.9641 GB, free: 1.012 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.3634, allocations: 29.7 kB / 0.9641 GB, free: 0.9766 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.3634, allocations: 80.52 kB / 0.9642 GB, free: 0.8945 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.767e-05/0.3635, allocations: 79.36 kB / 0.9642 GB, free: 0.8164 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.286e-05/0.3636, allocations: 37.84 kB / 0.9643 GB, free: 0.7734 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3637, allocations: 326.8 kB / 0.9646 GB, free: 456 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.029e-05/0.3638, allocations: 35.98 kB / 0.9646 GB, free: 420 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.3639, allocations: 73.98 kB / 0.9647 GB, free: 336 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.3641, allocations: 111.4 kB / 0.9648 GB, free: 212 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3641, allocations: 3.938 kB / 0.9648 GB, free: 208 kB / 0.7012 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002454/0.3643, allocations: 161.5 kB / 0.9649 GB, free: 40 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3643, allocations: 4 kB / 0.965 GB, free: 36 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.3643, allocations: 0 / 0.965 GB, free: 36 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3643, allocations: 4 kB / 0.965 GB, free: 32 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.3646, allocations: 43.97 kB / 0.965 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3646, allocations: 4.156 kB / 0.965 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.6e-05/0.3646, allocations: 0 / 0.965 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.3646, allocations: 15.94 kB / 0.965 GB, free: 15.96 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.0001305/0.3648, allocations: 118.5 kB / 0.9651 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.3648, allocations: 7.953 kB / 0.9651 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.488e-05/0.3649, allocations: 24.41 kB / 0.9652 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3649, allocations: 0 / 0.9652 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3649, allocations: 3.938 kB / 0.9652 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3649, allocations: 0 / 0.9652 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.365, allocations: 129.4 kB / 0.9653 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.365, allocations: 12 kB / 0.9653 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.3653, allocations: 35.98 kB / 0.9653 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3653, allocations: 3.938 kB / 0.9653 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.3653, allocations: 4 kB / 0.9653 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.3653, allocations: 3.984 kB / 0.9653 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3653, allocations: 0 / 0.9653 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.3657, allocations: 226.9 kB / 0.9656 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.887e-05/0.3658, allocations: 11.94 kB / 0.9656 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.3658, allocations: 8.062 kB / 0.9656 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.3659, allocations: 4 kB / 0.9656 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.3659, allocations: 15.97 kB / 0.9656 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.366, allocations: 8 kB / 0.9656 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.717e-05/0.366, allocations: 79.28 kB / 0.9657 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.366, allocations: 0 / 0.9657 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002393/0.3662, allocations: 28 kB / 0.9657 GB, free: 15.2 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0001868/0.3664, allocations: 103.2 kB / 0.9658 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.3667, allocations: 103.8 kB / 0.9659 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.3667, allocations: 96 / 0.9659 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.3668, allocations: 54.48 kB / 0.966 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.3671, allocations: 12 kB / 0.966 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.3682, allocations: 0.5137 MB / 0.9665 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.3683, allocations: 84.23 kB / 0.9666 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001156/0.3684, allocations: 32.56 kB / 0.9666 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.3684, allocations: 15.44 kB / 0.9666 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of SimCode: time 5e-07/0.3684, allocations: 0 / 0.9666 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of Templates: time 0.004178/0.3726, allocations: 1.142 MB / 0.9677 GB, free: 13.12 MB / 0.7169 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.905057042837143] Failed to read output from testmodel.py, exit status != 0: 0.38012003153562546 0.736074533 0.033054799 Calling exit ...