Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001136/0.001136, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.001241, allocations: 194.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.802/2.802, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 60.39 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3586, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002841/0.3615, allocations: 1.556 MB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.3625, allocations: 0.5725 MB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.351e-05/0.3626, allocations: 0 / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.3628, allocations: 7.875 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.177e-05/0.3628, allocations: 19.84 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.3632, allocations: 99.7 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.3633, allocations: 99.64 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.3635, allocations: 16.22 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.3636, allocations: 51.83 kB / 1.071 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.317e-05/0.3637, allocations: 47.77 kB / 1.071 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.3637, allocations: 8 kB / 1.071 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.3638, allocations: 63.89 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.039e-05/0.3639, allocations: 23.91 kB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.318e-05/0.364, allocations: 35.8 kB / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.3642, allocations: 139.8 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3642, allocations: 0 / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.011e-06/0.3642, allocations: 0 / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3642, allocations: 0 / 1.071 GB, free: 7.711 MB / 0.8262 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.0008316/0.365, allocations: 456.7 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.3651, allocations: 8.031 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.3651, allocations: 8.844 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.3653, allocations: 200.1 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.3653, allocations: 4.375 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.3653, allocations: 4.375 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.3657, allocations: 109.9 kB / 1.072 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3657, allocations: 0 / 1.072 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.3657, allocations: 4 kB / 1.072 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.51e-05/0.3658, allocations: 7.938 kB / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003367/0.3661, allocations: 79.92 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006503/0.3668, allocations: 352.6 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000311/0.3671, allocations: 94.5 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.3673, allocations: 64.88 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.3673, allocations: 0 / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00033/0.3676, allocations: 119.3 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.3677, allocations: 0 / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0007155/0.3684, allocations: 205.7 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.3684, allocations: 59.34 kB / 1.073 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.3685, allocations: 147.5 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.3686, allocations: 25.7 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.3686, allocations: 96.05 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.3687, allocations: 31.55 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-05/0.3687, allocations: 25.7 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.3689, allocations: 334.8 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.3691, allocations: 51.95 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.3692, allocations: 55.95 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.3696, allocations: 146.5 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3696, allocations: 7.938 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004796/0.3701, allocations: 199.2 kB / 1.074 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/0.3702, allocations: 33.69 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.3702, allocations: 4 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3702, allocations: 0 / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.3703, allocations: 15.98 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3704, allocations: 4 kB / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.3705, allocations: 23.89 kB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.3705, allocations: 8 kB / 1.074 GB, free: 4.535 MB / 0.8262 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.0001019/0.3706, allocations: 125.7 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.3707, allocations: 11.81 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.847e-05/0.3707, allocations: 12.7 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.3707, allocations: 4 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3707, allocations: 0 / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3708, allocations: 4 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.371, allocations: 201.5 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.371, allocations: 0 / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.3711, allocations: 15.98 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3711, allocations: 0 / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.3711, allocations: 3.984 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3711, allocations: 0 / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3711, allocations: 4 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004698/0.3716, allocations: 192.9 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.3717, allocations: 81.02 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.3717, allocations: 8 kB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.3718, allocations: 11.98 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/0.3719, allocations: 15.97 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.3719, allocations: 4 kB / 1.074 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.208e-05/0.372, allocations: 109.2 kB / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.372, allocations: 0 / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002522/0.3723, allocations: 35.94 kB / 1.074 GB, free: 3.613 MB / 0.8262 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.0001932/0.3725, allocations: 123.7 kB / 1.075 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005006/0.373, allocations: 187.2 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.373, allocations: 4 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.3732, allocations: 67.89 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.3734, allocations: 8.312 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005814/0.374, allocations: 235.5 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.3743, allocations: 0.7007 MB / 1.076 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.288e-05/0.3744, allocations: 15.98 kB / 1.076 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.958e-05/0.3745, allocations: 11.44 kB / 1.076 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3745, allocations: 0 / 1.076 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of Templates: time 0.004318/0.3788, allocations: 1.409 MB / 1.077 GB, free: 0.7969 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)