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.001305/0.001305, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001497/0.001497, allocations: 177.4 kB / 23.36 MB, free: 1.129 MB / 18.57 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 0.9298/0.9298, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 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.00159/0.00159, allocations: 245.2 kB / 260.5 MB, free: 12.7 MB / 250.7 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 0.6928/0.6928, allocations: 138.4 MB / 402.2 MB, free: 56 kB / 362.7 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.342e-06/1.342e-06, allocations: 0.6562 kB / 462.3 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.561e-05, allocations: 2.312 kB / 462.3 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.00219/0.002205, allocations: 1.596 MB / 463.9 MB, free: 15.75 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008946/0.0031, allocations: 0.6409 MB / 464.5 MB, free: 15.34 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.03e-05/0.00316, allocations: 1.594 kB / 464.5 MB, free: 15.34 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 9.902e-05/0.003259, allocations: 11.7 kB / 464.5 MB, free: 15.33 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.232e-05/0.003312, allocations: 21.27 kB / 464.5 MB, free: 15.32 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003928/0.003704, allocations: 105.1 kB / 464.6 MB, free: 15.28 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.003841, allocations: 111.7 kB / 464.8 MB, free: 15.23 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.895e-05/0.00392, allocations: 20.98 kB / 464.8 MB, free: 15.21 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.004067, allocations: 62.77 kB / 464.8 MB, free: 15.19 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.004134, allocations: 37.66 kB / 464.9 MB, free: 15.18 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.004152, allocations: 6.625 kB / 464.9 MB, free: 15.18 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.00429, allocations: 97.22 kB / 465 MB, free: 15.15 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.161e-05/0.004332, allocations: 20.12 kB / 465 MB, free: 15.14 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.707e-05/0.004369, allocations: 28.02 kB / 465 MB, free: 15.12 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.004558, allocations: 142.4 kB / 465.2 MB, free: 15.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.00456, allocations: 0 / 465.2 MB, free: 15.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.004561, allocations: 1 kB / 465.2 MB, free: 15.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.004564, allocations: 4.812 kB / 465.2 MB, free: 15.07 MB / 426.7 MB 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.0004377/0.005002, allocations: 359.3 kB / 465.5 MB, free: 14.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.005032, allocations: 9.5 kB / 465.5 MB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.00518, allocations: 31.08 kB / 465.6 MB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.005323, allocations: 139.8 kB / 465.7 MB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.005332, allocations: 3.562 kB / 465.7 MB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.005345, allocations: 7.141 kB / 465.7 MB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.005488, allocations: 90.02 kB / 465.8 MB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.005494, allocations: 1.031 kB / 465.8 MB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.005503, allocations: 2.141 kB / 465.8 MB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.005524, allocations: 8.516 kB / 465.8 MB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.754e-05/0.005562, allocations: 19.11 kB / 465.8 MB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002805/0.005842, allocations: 195.2 kB / 466 MB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.099e-05/0.005913, allocations: 73.14 kB / 466.1 MB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.627e-05/0.005939, allocations: 23.06 kB / 466.1 MB, free: 14.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.005951, allocations: 1.188 kB / 466.1 MB, free: 14.31 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001035/0.006054, allocations: 81.44 kB / 466.2 MB, free: 14.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.793e-06/0.006056, allocations: 0 / 466.2 MB, free: 14.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001496/0.006206, allocations: 76.73 kB / 466.3 MB, free: 14.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.006233, allocations: 57.28 kB / 466.3 MB, free: 14.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.009e-05/0.006313, allocations: 139.8 kB / 466.5 MB, free: 14.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.006328, allocations: 27.67 kB / 466.5 MB, free: 13.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.377e-05/0.006372, allocations: 101.3 kB / 466.6 MB, free: 13.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.006388, allocations: 21.58 kB / 466.6 MB, free: 13.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.006428, allocations: 28.89 kB / 466.6 MB, free: 13.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.158e-05/0.0065, allocations: 320.9 kB / 466.9 MB, free: 13.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.964e-05/0.00654, allocations: 42.95 kB / 467 MB, free: 13.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.241e-05/0.006572, allocations: 42.78 kB / 467 MB, free: 13.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.575e-05/0.006638, allocations: 71.91 kB / 467.1 MB, free: 13.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.00664, allocations: 2.562 kB / 467.1 MB, free: 13.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001048/0.006745, allocations: 127.5 kB / 467.2 MB, free: 13.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.006768, allocations: 31.53 kB / 467.3 MB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.006774, allocations: 1.125 kB / 467.3 MB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.006783, allocations: 1.625 kB / 467.3 MB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.306e-05/0.006856, allocations: 19.44 kB / 467.3 MB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.00686, allocations: 6.016 kB / 467.3 MB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.745e-05/0.006918, allocations: 22.92 kB / 467.3 MB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.006927, allocations: 5.312 kB / 467.3 MB, free: 13.25 MB / 426.7 MB 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 6.048e-05/0.006988, allocations: 118.3 kB / 467.4 MB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.007003, allocations: 15.09 kB / 467.4 MB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.389e-05/0.007027, allocations: 14.75 kB / 467.5 MB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.007036, allocations: 5.266 kB / 467.5 MB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.007038, allocations: 1.031 kB / 467.5 MB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.007042, allocations: 0.6562 kB / 467.5 MB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.811e-05/0.00713, allocations: 94.36 kB / 467.5 MB, free: 13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.007131, allocations: 0.875 kB / 467.6 MB, free: 13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-05/0.007165, allocations: 11.84 kB / 467.6 MB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.007167, allocations: 5.406 kB / 467.6 MB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.007174, allocations: 2.016 kB / 467.6 MB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.007174, allocations: 0 / 467.6 MB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.007177, allocations: 5.125 kB / 467.6 MB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.072e-05/0.007267, allocations: 96.78 kB / 467.7 MB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.014e-05/0.007277, allocations: 11.95 kB / 467.7 MB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.007294, allocations: 3.938 kB / 467.7 MB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.91e-05/0.007334, allocations: 11.98 kB / 467.7 MB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.007372, allocations: 16.62 kB / 467.7 MB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.007378, allocations: 0 / 467.7 MB, free: 12.83 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.352e-05/0.007401, allocations: 32.17 kB / 467.7 MB, free: 12.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.007401, allocations: 0 / 467.7 MB, free: 12.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001519/0.007553, allocations: 39.89 kB / 467.8 MB, free: 12.76 MB / 426.7 MB 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.0001078/0.007661, allocations: 100.4 kB / 467.9 MB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.00778, allocations: 127.1 kB / 468 MB, free: 12.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.007784, allocations: 4 kB / 468 MB, free: 12.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.723e-05/0.007821, allocations: 28.77 kB / 468 MB, free: 12.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.658e-05/0.007918, allocations: 24.67 kB / 468.1 MB, free: 12.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/0.008362, allocations: 216.9 kB / 468.3 MB, free: 12.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.052e-05/0.008392, allocations: 64.09 kB / 468.3 MB, free: 12.13 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.845e-05/0.008431, allocations: 9.422 kB / 468.3 MB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.00849, allocations: 55.38 kB / 468.4 MB, free: 12.07 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.00849, allocations: 1.188 kB / 468.4 MB, free: 12.07 MB / 426.7 MB Notification: Performance of Templates: time 0.003294/0.01178, allocations: 1.499 MB / 469.9 MB, free: 10.68 MB / 426.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.282947757281363]