Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 104.3 kB / 16.36 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 192.5 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.792/1.792, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 67.91 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2604, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002911/0.2634, allocations: 1.555 MB / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.2644, allocations: 0.6203 MB / 0.7869 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.558e-05/0.2645, allocations: 4 kB / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.953e-05/0.2646, allocations: 11.88 kB / 0.7869 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.511e-05/0.2647, allocations: 15.86 kB / 0.7869 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.2651, allocations: 95.7 kB / 0.787 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.2652, allocations: 91.7 kB / 0.7871 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.2654, allocations: 28.2 kB / 0.7871 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.2655, allocations: 47.78 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.622e-05/0.2656, allocations: 43.81 kB / 0.7872 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.2656, allocations: 8 kB / 0.7872 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.2658, allocations: 91.8 kB / 0.7873 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.2658, allocations: 23.91 kB / 0.7873 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.198e-05/0.2659, allocations: 39.8 kB / 0.7874 GB, free: 468 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.2661, allocations: 135.5 kB / 0.7875 GB, free: 332 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2661, allocations: 0 / 0.7875 GB, free: 332 kB / 0.6544 GB Notification: Performance of FrontEnd: time 4.418e-06/0.2661, allocations: 7.984 kB / 0.7875 GB, free: 324 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.2661, allocations: 3.938 kB / 0.7875 GB, free: 320 kB / 0.6544 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.4077/0.6739, allocations: 449.9 kB / 0.7879 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.6739, allocations: 8.562 kB / 0.788 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.523e-05/0.674, allocations: 12.17 kB / 0.788 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.6741, allocations: 188.3 kB / 0.7881 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.6742, allocations: 4.469 kB / 0.7881 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.6742, allocations: 12.52 kB / 0.7882 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.6745, allocations: 99.06 kB / 0.7883 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.6745, allocations: 0.5938 kB / 0.7883 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.6745, allocations: 4.938 kB / 0.7883 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.6746, allocations: 11.56 kB / 0.7883 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002996/0.6749, allocations: 86.31 kB / 0.7884 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005461/0.6754, allocations: 350.7 kB / 0.7887 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.6757, allocations: 92.91 kB / 0.7888 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.6759, allocations: 61.05 kB / 0.7888 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.6759, allocations: 1.719 kB / 0.7888 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002898/0.6762, allocations: 114.8 kB / 0.7889 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.984e-06/0.6762, allocations: 0 / 0.7889 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0005806/0.6768, allocations: 212 kB / 0.7891 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.6768, allocations: 52.22 kB / 0.7892 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.21e-05/0.6769, allocations: 142.1 kB / 0.7893 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.6769, allocations: 27.14 kB / 0.7894 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.677, allocations: 98.72 kB / 0.7895 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.677, allocations: 29.55 kB / 0.7895 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.6771, allocations: 25.95 kB / 0.7895 GB, free: 48 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.94e-05/0.6771, allocations: 330.3 kB / 0.7898 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.6773, allocations: 53.41 kB / 0.7899 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.6775, allocations: 61.61 kB / 0.7899 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.6778, allocations: 151.3 kB / 0.7901 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6778, allocations: 0 / 0.7901 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004027/0.6782, allocations: 199.6 kB / 0.7903 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.6782, allocations: 35.72 kB / 0.7903 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.6783, allocations: 0.5 kB / 0.7903 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.6783, allocations: 0 / 0.7903 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.6784, allocations: 20.03 kB / 0.7903 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.6784, allocations: 0.75 kB / 0.7903 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.6786, allocations: 26.08 kB / 0.7903 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.6786, allocations: 4.5 kB / 0.7903 GB, free: 47.54 MB / 0.6544 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 6.726e-05/0.6787, allocations: 126.3 kB / 0.7905 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.6787, allocations: 9.156 kB / 0.7905 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.6787, allocations: 13.97 kB / 0.7905 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.6787, allocations: 7.234 kB / 0.7905 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6787, allocations: 0 / 0.7905 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.6787, allocations: 3.25 kB / 0.7905 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.6789, allocations: 193.1 kB / 0.7907 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.6789, allocations: 0.9375 kB / 0.7907 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.679, allocations: 20.77 kB / 0.7907 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.679, allocations: 0 / 0.7907 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.679, allocations: 5.984 kB / 0.7907 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.679, allocations: 0 / 0.7907 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.679, allocations: 1.688 kB / 0.7907 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.6794, allocations: 185.4 kB / 0.7909 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.447e-05/0.6794, allocations: 93.16 kB / 0.791 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.6795, allocations: 3.734 kB / 0.791 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.6796, allocations: 13.41 kB / 0.791 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.6797, allocations: 16.14 kB / 0.791 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.6797, allocations: 2.625 kB / 0.791 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.082e-05/0.6797, allocations: 114.7 kB / 0.7911 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6797, allocations: 0 / 0.7911 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002699/0.68, allocations: 39.11 kB / 0.7912 GB, free: 46.98 MB / 0.6544 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.0001549/0.6802, allocations: 118.5 kB / 0.7913 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004169/0.6806, allocations: 180.7 kB / 0.7914 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6806, allocations: 2.625 kB / 0.7914 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.6808, allocations: 70.36 kB / 0.7915 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.681, allocations: 10.64 kB / 0.7915 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004753/0.6815, allocations: 255.3 kB / 0.7918 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.6816, allocations: 0.7052 MB / 0.7925 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.6817, allocations: 15.62 kB / 0.7925 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.6817, allocations: 1.594 kB / 0.7925 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.002908/0.6846, allocations: 1.516 MB / 0.794 GB, free: 45.9 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)