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.001315/0.001315, allocations: 79.67 kB / 19.18 MB, free: 2.516 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.001462/0.001462, allocations: 162.8 kB / 22.46 MB, free: 5.375 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.43/1.43, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.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.002454/0.002454, allocations: 226.5 kB / 259.4 MB, free: 476 kB / 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.072/1.072, allocations: 138.4 MB / 454.3 MB, free: 2.016 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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 3.938 kB / 0.6467 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.797e-05, allocations: 2.281 kB / 0.6467 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.002713/0.002741, allocations: 1.558 MB / 0.6483 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.003964, allocations: 0.6037 MB / 0.6489 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.861e-05/0.004032, allocations: 7.938 kB / 0.6489 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.004138, allocations: 15.86 kB / 0.6489 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.431e-05/0.004192, allocations: 15.8 kB / 0.6489 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.00464, allocations: 103.7 kB / 0.649 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00017/0.00481, allocations: 107.6 kB / 0.6491 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.004911, allocations: 12.23 kB / 0.6491 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.005105, allocations: 67.75 kB / 0.6492 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.88e-05/0.005194, allocations: 31.95 kB / 0.6492 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.005223, allocations: 8 kB / 0.6492 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.005385, allocations: 103.8 kB / 0.6493 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.243e-05/0.005437, allocations: 19.92 kB / 0.6493 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.779e-05/0.005495, allocations: 27.92 kB / 0.6494 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.005757, allocations: 167.5 kB / 0.6495 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.005759, allocations: 0 / 0.6495 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.51e-07/0.005759, allocations: 0 / 0.6495 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.005763, allocations: 0 / 0.6495 GB, free: 2.215 MB / 0.5606 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.0007896/0.006553, allocations: 387.5 kB / 0.6499 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.006593, allocations: 13.34 kB / 0.6499 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002785/0.006871, allocations: 32.86 kB / 0.6499 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.007096, allocations: 139.8 kB / 0.6501 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.007111, allocations: 4.375 kB / 0.6501 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.007129, allocations: 4.375 kB / 0.6501 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.007454, allocations: 106.1 kB / 0.6502 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.007463, allocations: 192 / 0.6502 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.00748, allocations: 4.375 kB / 0.6502 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/0.007514, allocations: 11.92 kB / 0.6502 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003532/0.007867, allocations: 91.86 kB / 0.6503 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006181/0.008485, allocations: 280.3 kB / 0.6505 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.008828, allocations: 90.5 kB / 0.6506 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.009022, allocations: 60.81 kB / 0.6507 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.009038, allocations: 4 kB / 0.6507 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000303/0.009341, allocations: 115.3 kB / 0.6508 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.634e-06/0.009343, allocations: 0 / 0.6508 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0007112/0.01005, allocations: 205.4 kB / 0.651 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.01011, allocations: 59.41 kB / 0.6511 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.01024, allocations: 136.5 kB / 0.6512 GB, free: 372 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.01027, allocations: 29.7 kB / 0.6512 GB, free: 336 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.831e-05/0.01034, allocations: 108 kB / 0.6513 GB, free: 224 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.01038, allocations: 35.8 kB / 0.6513 GB, free: 188 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.993e-05/0.01044, allocations: 25.7 kB / 0.6514 GB, free: 156 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.2312/0.2416, allocations: 319.7 kB / 0.6517 GB, free: 56.71 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/0.242, allocations: 82.84 kB / 0.6518 GB, free: 56.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.2423, allocations: 87.55 kB / 0.6518 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.2426, allocations: 142.7 kB / 0.652 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2426, allocations: 0.5312 kB / 0.652 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004881/0.2431, allocations: 230 kB / 0.6522 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.2431, allocations: 38.5 kB / 0.6522 GB, free: 56.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2431, allocations: 0 / 0.6522 GB, free: 56.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.2432, allocations: 0 / 0.6522 GB, free: 56.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.2433, allocations: 25.91 kB / 0.6523 GB, free: 56.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2433, allocations: 4.781 kB / 0.6523 GB, free: 56.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.2435, allocations: 23.14 kB / 0.6523 GB, free: 56.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.2435, allocations: 6.625 kB / 0.6523 GB, free: 56.49 MB / 0.5606 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 7.723e-05/0.2436, allocations: 121.3 kB / 0.6524 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.2436, allocations: 7.109 kB / 0.6524 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.2436, allocations: 16.8 kB / 0.6524 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.2436, allocations: 6 kB / 0.6524 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2436, allocations: 3.938 kB / 0.6524 GB, free: 56.37 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2436, allocations: 0.8125 kB / 0.6524 GB, free: 56.37 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.2438, allocations: 135.1 kB / 0.6526 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2438, allocations: 4.438 kB / 0.6526 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.2439, allocations: 17.58 kB / 0.6526 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2439, allocations: 0 / 0.6526 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.2439, allocations: 3.906 kB / 0.6526 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2439, allocations: 3.875 kB / 0.6526 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2439, allocations: 0 / 0.6526 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004118/0.2443, allocations: 192.6 kB / 0.6528 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.524e-05/0.2443, allocations: 3.953 kB / 0.6528 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.2443, allocations: 5.594 kB / 0.6528 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.2445, allocations: 15.22 kB / 0.6528 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.2445, allocations: 13.86 kB / 0.6528 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.2445, allocations: 11.59 kB / 0.6528 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.909e-05/0.2446, allocations: 109.5 kB / 0.6529 GB, free: 56.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2446, allocations: 1.156 kB / 0.6529 GB, free: 56.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002492/0.2448, allocations: 39.83 kB / 0.653 GB, free: 56.11 MB / 0.5606 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.000148/0.245, allocations: 118.3 kB / 0.6531 GB, free: 56.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004531/0.2454, allocations: 214.1 kB / 0.6533 GB, free: 55.92 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.2454, allocations: 0 / 0.6533 GB, free: 55.92 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.2456, allocations: 55.53 kB / 0.6533 GB, free: 55.92 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.2458, allocations: 17.39 kB / 0.6534 GB, free: 55.92 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004553/0.2463, allocations: 227 kB / 0.6536 GB, free: 55.79 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.747e-05/0.2463, allocations: 88.92 kB / 0.6537 GB, free: 55.71 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.159e-05/0.2464, allocations: 19.16 kB / 0.6537 GB, free: 55.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.2464, allocations: 20.08 kB / 0.6537 GB, free: 55.71 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.2464, allocations: 0 / 0.6537 GB, free: 55.71 MB / 0.5606 GB Notification: Performance of Templates: time 0.003925/0.2504, allocations: 1.475 MB / 0.6551 GB, free: 55.66 MB / 0.5606 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.679579768329859] Failed to read output from testmodel.py, exit status != 0: 0.2577420137822628 0.26645202900000003 0.25852297700000004 Calling exit ...