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.001001/0.001001, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.009675/0.009675, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.612/1.612, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.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.672/1.672, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.00053/0.00053, allocations: 20.8 kB / 0.6743 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2601, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002471/0.2626, allocations: 1.274 MB / 0.7891 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.2641, allocations: 0.6205 MB / 0.7897 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.524e-05/0.2642, allocations: 4 kB / 0.7897 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.2644, allocations: 3.938 kB / 0.7897 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.2645, allocations: 15.86 kB / 0.7897 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005023/0.265, allocations: 71.86 kB / 0.7898 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.2652, allocations: 95.64 kB / 0.7899 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.2653, allocations: 16.22 kB / 0.7899 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.2656, allocations: 43.78 kB / 0.79 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.2657, allocations: 39.83 kB / 0.79 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.2657, allocations: 4 kB / 0.79 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.2659, allocations: 55.94 kB / 0.7901 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.142e-05/0.266, allocations: 15.92 kB / 0.7901 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.243e-05/0.2661, allocations: 61.5 kB / 0.7901 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.2663, allocations: 143.8 kB / 0.7903 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.2664, allocations: 0 / 0.7903 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.615e-06/0.2664, allocations: 0 / 0.7903 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.2664, allocations: 0 / 0.7903 GB, free: 9.098 MB / 0.6075 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.001041/0.2674, allocations: 448.8 kB / 0.7907 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.2675, allocations: 8.031 kB / 0.7907 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.468e-05/0.2676, allocations: 12.84 kB / 0.7907 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.2678, allocations: 196.1 kB / 0.7909 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.2678, allocations: 4.312 kB / 0.7909 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.2678, allocations: 8.375 kB / 0.7909 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003342/0.2682, allocations: 125.8 kB / 0.791 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.2682, allocations: 0 / 0.791 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.2682, allocations: 0 / 0.791 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.2682, allocations: 4 kB / 0.791 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003483/0.2686, allocations: 107.9 kB / 0.7911 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006827/0.2693, allocations: 348.7 kB / 0.7915 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.2696, allocations: 126.4 kB / 0.7916 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.2698, allocations: 68.89 kB / 0.7917 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.2699, allocations: 8.047 kB / 0.7917 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003505/0.2702, allocations: 119.3 kB / 0.7918 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 2.064e-06/0.2703, allocations: 4 kB / 0.7918 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0006943/0.271, allocations: 233.3 kB / 0.792 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.271, allocations: 55.41 kB / 0.7921 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.2711, allocations: 136.4 kB / 0.7922 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.2712, allocations: 33.69 kB / 0.7922 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.676e-05/0.2713, allocations: 104 kB / 0.7923 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.2713, allocations: 23.7 kB / 0.7923 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.2713, allocations: 17.72 kB / 0.7924 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.2715, allocations: 322.8 kB / 0.7927 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.2717, allocations: 71.89 kB / 0.7927 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.2719, allocations: 67.95 kB / 0.7928 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004106/0.2723, allocations: 166.6 kB / 0.793 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2723, allocations: 3.938 kB / 0.793 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005151/0.2728, allocations: 223.1 kB / 0.7932 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/0.2729, allocations: 29.7 kB / 0.7932 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2729, allocations: 0 / 0.7932 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.2729, allocations: 480 / 0.7932 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.2731, allocations: 27.97 kB / 0.7932 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2731, allocations: 4 kB / 0.7932 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.2732, allocations: 23.83 kB / 0.7933 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.2732, allocations: 4 kB / 0.7933 GB, free: 5.777 MB / 0.6075 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.0001279/0.2734, allocations: 138.4 kB / 0.7934 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.2734, allocations: 7.906 kB / 0.7934 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.2735, allocations: 8.719 kB / 0.7934 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.2735, allocations: 11.98 kB / 0.7934 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2735, allocations: 0 / 0.7934 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2735, allocations: 0 / 0.7934 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.2737, allocations: 193.6 kB / 0.7936 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2737, allocations: 0 / 0.7936 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.2738, allocations: 27.91 kB / 0.7936 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2738, allocations: 0 / 0.7936 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.2739, allocations: 4 kB / 0.7936 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.2739, allocations: 4 kB / 0.7936 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.2739, allocations: 8 kB / 0.7937 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004796/0.2744, allocations: 200.9 kB / 0.7938 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.2744, allocations: 88.95 kB / 0.7939 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.2745, allocations: 3.984 kB / 0.7939 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.2746, allocations: 19.98 kB / 0.794 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.297e-05/0.2747, allocations: 15.92 kB / 0.794 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.2747, allocations: 0 / 0.794 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.723e-05/0.2748, allocations: 115.2 kB / 0.7941 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2748, allocations: 0 / 0.7941 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002725/0.2751, allocations: 47.78 kB / 0.7941 GB, free: 4.801 MB / 0.6075 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.0002184/0.2753, allocations: 115.2 kB / 0.7942 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005118/0.2758, allocations: 199.2 kB / 0.7944 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2758, allocations: 4 kB / 0.7944 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000211/0.2761, allocations: 71.95 kB / 0.7945 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.2763, allocations: 19.97 kB / 0.7945 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005653/0.2769, allocations: 263.3 kB / 0.7948 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.2771, allocations: 0.7028 MB / 0.7955 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.475e-05/0.2772, allocations: 19.7 kB / 0.7955 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.568e-05/0.2773, allocations: 11.44 kB / 0.7955 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.2773, allocations: 4 kB / 0.7955 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of Templates: time 0.003975/0.2813, allocations: 1.259 MB / 0.7967 GB, free: 2.078 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: