Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.273/2.273, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002124/0.002124, allocations: 179.7 kB / 326.3 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.527/2.527, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008931/0.0008924, allocations: 97.77 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007415/0.0007421, allocations: 11.06 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2335, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001826/0.2354, allocations: 1.258 MB / 0.9007 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009575/0.2364, allocations: 499.9 kB / 0.9012 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.493e-05/0.2365, allocations: 4 kB / 0.9012 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.379e-05/0.2366, allocations: 7.922 kB / 0.9012 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.048e-05/0.2367, allocations: 11.81 kB / 0.9012 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.237, allocations: 43.81 kB / 0.9013 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.2371, allocations: 95.69 kB / 0.9013 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.2372, allocations: 20.23 kB / 0.9014 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.2374, allocations: 51.81 kB / 0.9014 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.2375, allocations: 43.83 kB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.2375, allocations: 4 kB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.279e-05/0.2376, allocations: 4 kB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.884e-05/0.2376, allocations: 15.92 kB / 0.9015 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.616e-05/0.2377, allocations: 37.64 kB / 0.9015 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.2378, allocations: 63.88 kB / 0.9016 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2378, allocations: 4 kB / 0.9016 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2378, allocations: 0 / 0.9016 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.2378, allocations: 0 / 0.9016 GB, free: 63.36 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0009356/0.2388, allocations: 480.8 kB / 0.902 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.2388, allocations: 12.03 kB / 0.902 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.752e-05/0.2389, allocations: 12.75 kB / 0.9021 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.2391, allocations: 192.2 kB / 0.9022 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.2391, allocations: 4.375 kB / 0.9022 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.2392, allocations: 8.375 kB / 0.9023 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005237/0.2397, allocations: 149.9 kB / 0.9024 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2397, allocations: 0 / 0.9024 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.2398, allocations: 4 kB / 0.9024 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2398, allocations: 0 / 0.9024 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006111/0.2404, allocations: 135.9 kB / 0.9025 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008024/0.2412, allocations: 380.5 kB / 0.9029 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005881/0.2418, allocations: 146.5 kB / 0.903 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/0.2422, allocations: 112.8 kB / 0.9031 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.2423, allocations: 0 / 0.9031 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005079/0.2428, allocations: 163.3 kB / 0.9033 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.345e-06/0.2428, allocations: 0 / 0.9033 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.001299/0.2441, allocations: 359 kB / 0.9036 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.2442, allocations: 97.09 kB / 0.9037 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.2443, allocations: 143.2 kB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.2444, allocations: 25.7 kB / 0.9039 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.2444, allocations: 100.1 kB / 0.904 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.2445, allocations: 27.56 kB / 0.904 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.479e-05/0.2445, allocations: 4 kB / 0.904 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.202e-05/0.2446, allocations: 326.8 kB / 0.9043 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/0.2449, allocations: 95.94 kB / 0.9044 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/0.2453, allocations: 91.92 kB / 0.9045 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003928/0.2457, allocations: 156.6 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2457, allocations: 0 / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008806/0.2466, allocations: 312.8 kB / 0.905 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.396e-05/0.2467, allocations: 68.95 kB / 0.905 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2467, allocations: 0 / 0.905 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.2468, allocations: 0 / 0.905 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.247, allocations: 27.97 kB / 0.905 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.247, allocations: 4 kB / 0.9051 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003232/0.2474, allocations: 43.8 kB / 0.9051 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.2474, allocations: 4 kB / 0.9051 GB, free: 59.48 MB / 0.6042 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.2476, allocations: 163.4 kB / 0.9053 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.2476, allocations: 11.91 kB / 0.9053 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.2477, allocations: 20.7 kB / 0.9053 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2477, allocations: 3.938 kB / 0.9053 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2477, allocations: 0 / 0.9053 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.2477, allocations: 81.02 kB / 0.9054 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.939e-05/0.2478, allocations: 15.88 kB / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.2481, allocations: 31.95 kB / 0.9054 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.2482, allocations: 19.97 kB / 0.9054 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001106/0.2494, allocations: 458.3 kB / 0.9059 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009121/0.2503, allocations: 468.1 kB / 0.9063 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004175/0.2507, allocations: 131.9 kB / 0.9064 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.519e-05/0.2508, allocations: 118.3 kB / 0.9066 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of Backend: time 7.11e-07/0.2508, allocations: 0 / 0.9066 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009385/0.2518, allocations: 343.2 kB / 0.9069 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0006583/0.2525, allocations: 0.7457 MB / 0.9076 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of Templates: time 0.00542/0.2579, allocations: 1.724 MB / 0.9093 GB, free: 55.02 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)