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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 190.8 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002514/0.002514, allocations: 296.4 kB / 306.6 MB, free: 8.32 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.217/1.217, allocations: 180.9 MB / 0.53 GB, free: 14.45 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002761/0.002761, allocations: 99.61 kB / 0.7308 GB, free: 38.88 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1802, allocations: 94.2 MB / 0.8228 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.00287/0.1831, allocations: 1.347 MB / 0.8241 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1799/0.363, allocations: 148.6 MB / 0.9692 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.941e-05/0.363, allocations: 7.938 kB / 0.9692 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.334e-05/0.3631, allocations: 0 / 0.9692 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.3632, allocations: 23.84 kB / 0.9692 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.3642, allocations: 338.6 kB / 0.9696 GB, free: 11 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.3643, allocations: 59.78 kB / 0.9696 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.698e-05/0.3644, allocations: 4 kB / 0.9696 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.427e-05/0.3644, allocations: 31.91 kB / 0.9696 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.408e-05/0.3645, allocations: 31.89 kB / 0.9697 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.3645, allocations: 4 kB / 0.9697 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008176/0.3654, allocations: 442.6 kB / 0.9701 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.3654, allocations: 23.91 kB / 0.9701 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.614e-05/0.3655, allocations: 23.92 kB / 0.9701 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.3658, allocations: 159.6 kB / 0.9703 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3658, allocations: 4 kB / 0.9703 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3658, allocations: 0 / 0.9703 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.3658, allocations: 0 / 0.9703 GB, free: 10.23 MB / 0.7169 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.0004528/0.3662, allocations: 317.8 kB / 0.9706 GB, free: 9.895 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.3663, allocations: 8.031 kB / 0.9706 GB, free: 9.887 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004053/0.3667, allocations: 44.84 kB / 0.9707 GB, free: 9.844 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.607e-05/0.3668, allocations: 106.5 kB / 0.9708 GB, free: 9.715 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.3668, allocations: 11.94 kB / 0.9708 GB, free: 9.703 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.3668, allocations: 11.95 kB / 0.9708 GB, free: 9.691 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.367, allocations: 81.64 kB / 0.9709 GB, free: 9.605 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.367, allocations: 0 / 0.9709 GB, free: 9.605 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.367, allocations: 0 / 0.9709 GB, free: 9.605 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.367, allocations: 0 / 0.9709 GB, free: 9.605 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.719e-05/0.3671, allocations: 47.95 kB / 0.9709 GB, free: 9.559 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.3673, allocations: 156.6 kB / 0.9711 GB, free: 9.363 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.3675, allocations: 94.61 kB / 0.9711 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.647e-05/0.3676, allocations: 25.17 kB / 0.9712 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/0.3677, allocations: 27.92 kB / 0.9712 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.3678, allocations: 34.56 kB / 0.9712 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.3678, allocations: 0 / 0.9712 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19): time 0.00128/0.3691, allocations: 493.9 kB / 0.9717 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.3691, allocations: 51.41 kB / 0.9717 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.135e-05/0.3692, allocations: 97.8 kB / 0.9718 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.3692, allocations: 33.83 kB / 0.9719 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.3692, allocations: 84.52 kB / 0.972 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.442e-05/0.3693, allocations: 79.36 kB / 0.972 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.869e-05/0.3694, allocations: 37.7 kB / 0.9721 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3695, allocations: 318.8 kB / 0.9724 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.669e-05/0.3696, allocations: 35.97 kB / 0.9724 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.329e-05/0.3697, allocations: 75.34 kB / 0.9725 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.3698, allocations: 115.3 kB / 0.9726 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3698, allocations: 0 / 0.9726 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002414/0.3701, allocations: 161.5 kB / 0.9727 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3701, allocations: 8 kB / 0.9727 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3701, allocations: 0 / 0.9727 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3701, allocations: 4 kB / 0.9727 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.3703, allocations: 35.98 kB / 0.9728 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3703, allocations: 4 kB / 0.9728 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.804e-05/0.3703, allocations: 11.94 kB / 0.9728 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.3703, allocations: 15.92 kB / 0.9728 GB, free: 7.43 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 9.731e-05/0.3704, allocations: 118.5 kB / 0.9729 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.3705, allocations: 7.953 kB / 0.9729 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.006e-05/0.3705, allocations: 16.47 kB / 0.973 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3705, allocations: 4 kB / 0.973 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3705, allocations: 0 / 0.973 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3705, allocations: 3.938 kB / 0.973 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.3707, allocations: 160.7 kB / 0.9731 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3707, allocations: 4 kB / 0.9731 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.3709, allocations: 51.89 kB / 0.9732 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.3709, allocations: 0 / 0.9732 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.3709, allocations: 0 / 0.9732 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3709, allocations: 4 kB / 0.9732 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3709, allocations: 0 / 0.9732 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.3712, allocations: 208.9 kB / 0.9734 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.3713, allocations: 11.94 kB / 0.9734 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.3713, allocations: 16 kB / 0.9734 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.3714, allocations: 11.98 kB / 0.9734 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.3715, allocations: 11.92 kB / 0.9734 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.3715, allocations: 8 kB / 0.9734 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.544e-05/0.3715, allocations: 79.27 kB / 0.9735 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3715, allocations: 0 / 0.9735 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002223/0.3718, allocations: 28 kB / 0.9735 GB, free: 6.629 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.0001417/0.3719, allocations: 103.3 kB / 0.9736 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.3721, allocations: 106.4 kB / 0.9737 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3721, allocations: 0 / 0.9737 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.794e-05/0.3722, allocations: 51.86 kB / 0.9738 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.3724, allocations: 12.11 kB / 0.9738 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008567/0.3733, allocations: 0.5251 MB / 0.9743 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.3736, allocations: 0.7046 MB / 0.975 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.3737, allocations: 24.62 kB / 0.975 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/0.3738, allocations: 15.44 kB / 0.975 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.3738, allocations: 0 / 0.975 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of Templates: time 0.004076/0.3778, allocations: 1.212 MB / 0.9762 GB, free: 3.82 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.179988104850054] Failed to read output from testmodel.py, exit status != 0: 0.3848464572802186 0.399245471 0.030503691000000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f734af957b0>