Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.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.001595/0.001595, allocations: 78.73 kB / 19.01 MB, free: 2.863 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.001679/0.001679, allocations: 160.3 kB / 22.26 MB, free: 5.113 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.401/1.401, allocations: 177.2 MB / 202.6 MB, free: 9.258 MB / 190.1 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.002529/0.002529, allocations: 233.9 kB / 259.2 MB, free: 0.5781 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.064/1.064, allocations: 138.5 MB / 454.2 MB, free: 2.039 MB / 366.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.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") [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.003087/0.003087, allocations: 103.8 kB / 0.6466 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3543, allocations: 95.36 MB / 0.7397 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.002786/0.3571, allocations: 1.542 MB / 0.7412 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.3583, allocations: 0.6116 MB / 0.7418 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.013e-05/0.3583, allocations: 4 kB / 0.7418 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.3584, allocations: 11.86 kB / 0.7418 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.167e-05/0.3585, allocations: 11.81 kB / 0.7418 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.3589, allocations: 115.7 kB / 0.7419 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.3591, allocations: 99.7 kB / 0.742 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.3592, allocations: 20.16 kB / 0.742 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.3593, allocations: 63.88 kB / 0.7421 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.729e-05/0.3594, allocations: 43.77 kB / 0.7421 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.3595, allocations: 8 kB / 0.7421 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.3596, allocations: 95.84 kB / 0.7422 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.89e-05/0.3597, allocations: 23.91 kB / 0.7423 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.4e-05/0.3597, allocations: 31.86 kB / 0.7423 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.36, allocations: 152.5 kB / 0.7424 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.36, allocations: 4 kB / 0.7424 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.382e-06/0.36, allocations: 0 / 0.7424 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.36, allocations: 4 kB / 0.7424 GB, free: 12.39 MB / 0.5762 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.000766/0.3607, allocations: 387.4 kB / 0.7428 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.3608, allocations: 9.344 kB / 0.7428 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002717/0.361, allocations: 32.86 kB / 0.7429 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.3613, allocations: 138.4 kB / 0.743 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3613, allocations: 384 / 0.743 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.3613, allocations: 8.375 kB / 0.743 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.3616, allocations: 117.8 kB / 0.7431 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3616, allocations: 4 kB / 0.7431 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3617, allocations: 0 / 0.7431 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/0.3617, allocations: 4 kB / 0.7431 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003452/0.362, allocations: 87.91 kB / 0.7432 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006131/0.3626, allocations: 288.4 kB / 0.7435 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000336/0.363, allocations: 90.55 kB / 0.7436 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.3632, allocations: 56.81 kB / 0.7436 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.3632, allocations: 4 kB / 0.7436 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003193/0.3635, allocations: 111.3 kB / 0.7437 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.3635, allocations: 0 / 0.7437 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0006853/0.3642, allocations: 205.5 kB / 0.7439 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.3642, allocations: 51.41 kB / 0.744 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.3644, allocations: 145.8 kB / 0.7441 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/0.3644, allocations: 33.7 kB / 0.7441 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.3645, allocations: 100.1 kB / 0.7442 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.3645, allocations: 27.75 kB / 0.7443 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.469e-05/0.3646, allocations: 29.77 kB / 0.7443 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3647, allocations: 326.8 kB / 0.7446 GB, free: 10 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.365, allocations: 85.59 kB / 0.7447 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.3652, allocations: 93.58 kB / 0.7448 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/0.3656, allocations: 142.5 kB / 0.7449 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3656, allocations: 0 / 0.7449 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005306/0.3661, allocations: 228.9 kB / 0.7451 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.985e-05/0.3661, allocations: 37.62 kB / 0.7452 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3662, allocations: 4.469 kB / 0.7452 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.3662, allocations: 4 kB / 0.7452 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.3663, allocations: 15.98 kB / 0.7452 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3663, allocations: 0 / 0.7452 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.3665, allocations: 23.92 kB / 0.7452 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.3665, allocations: 11.88 kB / 0.7452 GB, free: 9.324 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * 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.0001069/0.3666, allocations: 117.8 kB / 0.7453 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.3666, allocations: 15.92 kB / 0.7453 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.3666, allocations: 12.78 kB / 0.7454 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.3667, allocations: 8 kB / 0.7454 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3667, allocations: 0 / 0.7454 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3667, allocations: 0 / 0.7454 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.3668, allocations: 137.2 kB / 0.7455 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3668, allocations: 0 / 0.7455 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.3669, allocations: 15.98 kB / 0.7455 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.367, allocations: 0 / 0.7455 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.367, allocations: 11.91 kB / 0.7455 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.367, allocations: 4 kB / 0.7455 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.367, allocations: 0 / 0.7455 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004827/0.3675, allocations: 188.9 kB / 0.7457 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.3675, allocations: 11.89 kB / 0.7457 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.3675, allocations: 0 / 0.7457 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.3676, allocations: 15.98 kB / 0.7457 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/0.3677, allocations: 19.97 kB / 0.7458 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.3677, allocations: 3.938 kB / 0.7458 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.14e-05/0.3678, allocations: 114 kB / 0.7459 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.3678, allocations: 4 kB / 0.7459 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002623/0.3681, allocations: 36 kB / 0.7459 GB, free: 8.562 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001672/0.3682, allocations: 111.2 kB / 0.746 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005298/0.3688, allocations: 208.9 kB / 0.7462 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3688, allocations: 0 / 0.7462 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.369, allocations: 63.94 kB / 0.7463 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.3692, allocations: 24.05 kB / 0.7463 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005703/0.3698, allocations: 224.4 kB / 0.7465 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.845e-05/0.3699, allocations: 85.39 kB / 0.7466 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.686e-05/0.3699, allocations: 19.77 kB / 0.7466 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.37, allocations: 20.48 kB / 0.7466 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.37, allocations: 3.938 kB / 0.7466 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of Templates: time 0.004569/0.3746, allocations: 1.478 MB / 0.7481 GB, free: 6.297 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.644388323649764] Failed to read output from testmodel.py, exit status != 0: 0.3832407183945179 0.397307206 0.034267072 Calling exit ...