Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.000963/0.0009629, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001038/0.001038, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.7022/0.7022, allocations: 95.62 MB / 366 MB, free: 10.38 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005861/0.0005862, allocations: 12 kB / 446.8 MB, free: 9.383 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4018, allocations: 70.34 MB / 0.5051 GB, free: 16.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001446/0.4033, allocations: 1.246 MB / 0.5063 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006467/0.404, allocations: 491.8 kB / 0.5067 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.404, allocations: 0 / 0.5067 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.401e-05/0.4041, allocations: 7.922 kB / 0.5068 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.981e-05/0.4042, allocations: 15.86 kB / 0.5068 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.4044, allocations: 39.89 kB / 0.5068 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.4046, allocations: 99.69 kB / 0.5069 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.4047, allocations: 12.23 kB / 0.5069 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.895e-05/0.4048, allocations: 55.81 kB / 0.507 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.85e-05/0.4049, allocations: 39.83 kB / 0.507 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.4049, allocations: 4 kB / 0.507 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.605e-05/0.4049, allocations: 4 kB / 0.507 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.841e-05/0.405, allocations: 19.92 kB / 0.507 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.142e-05/0.405, allocations: 45.58 kB / 0.5071 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.27e-05/0.4051, allocations: 61.84 kB / 0.5071 GB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4051, allocations: 0 / 0.5071 GB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4051, allocations: 0 / 0.5071 GB, free: 14.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.4052, allocations: 0 / 0.5071 GB, free: 14.34 MB / 382.1 MB 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.0006564/0.4058, allocations: 482.3 kB / 0.5076 GB, free: 13.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.4059, allocations: 11.98 kB / 0.5076 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.4059, allocations: 15.81 kB / 0.5076 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.4061, allocations: 198.9 kB / 0.5078 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.4061, allocations: 0 / 0.5078 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.4061, allocations: 8 kB / 0.5078 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003099/0.4065, allocations: 141.6 kB / 0.508 GB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.4065, allocations: 0 / 0.508 GB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.4065, allocations: 0 / 0.508 GB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.4065, allocations: 4 kB / 0.508 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.4068, allocations: 127.9 kB / 0.5081 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005177/0.4073, allocations: 368.5 kB / 0.5084 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.4077, allocations: 146.5 kB / 0.5086 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.4078, allocations: 100.9 kB / 0.5087 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.4079, allocations: 4 kB / 0.5087 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003098/0.4082, allocations: 151.3 kB / 0.5088 GB, free: 12.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.4082, allocations: 3.938 kB / 0.5088 GB, free: 12.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006696/0.4089, allocations: 343 kB / 0.5091 GB, free: 12.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.4089, allocations: 89.09 kB / 0.5092 GB, free: 11.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.412e-05/0.409, allocations: 145.7 kB / 0.5094 GB, free: 11.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.409, allocations: 29.7 kB / 0.5094 GB, free: 11.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.4091, allocations: 100.1 kB / 0.5095 GB, free: 11.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.4091, allocations: 31.55 kB / 0.5095 GB, free: 11.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.4091, allocations: 8 kB / 0.5095 GB, free: 11.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.882e-05/0.4092, allocations: 318.8 kB / 0.5098 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.4094, allocations: 91.94 kB / 0.5099 GB, free: 11.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.4096, allocations: 83.94 kB / 0.51 GB, free: 11.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.4098, allocations: 151.3 kB / 0.5101 GB, free: 11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4098, allocations: 0 / 0.5101 GB, free: 11 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004569/0.4103, allocations: 304.9 kB / 0.5104 GB, free: 10.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/0.4103, allocations: 67.39 kB / 0.5105 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.4103, allocations: 0 / 0.5105 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.4103, allocations: 0 / 0.5105 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.4105, allocations: 31.97 kB / 0.5105 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.4105, allocations: 7.953 kB / 0.5105 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.4107, allocations: 35.81 kB / 0.5106 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.4107, allocations: 7.984 kB / 0.5106 GB, free: 10.53 MB / 382.1 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 ($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 9.521e-05/0.4108, allocations: 159.5 kB / 0.5107 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.4108, allocations: 11.91 kB / 0.5107 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.4108, allocations: 12.72 kB / 0.5108 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.4109, allocations: 0 / 0.5108 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4109, allocations: 0 / 0.5108 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.4109, allocations: 7.938 kB / 0.5108 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.411, allocations: 197.6 kB / 0.511 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.411, allocations: 0 / 0.511 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.4111, allocations: 32.38 kB / 0.511 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4111, allocations: 4 kB / 0.511 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.4111, allocations: 8 kB / 0.511 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4111, allocations: 3.938 kB / 0.511 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4112, allocations: 0 / 0.511 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.4116, allocations: 318.3 kB / 0.5113 GB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.759e-05/0.4117, allocations: 89 kB / 0.5114 GB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.4117, allocations: 4 kB / 0.5114 GB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.4118, allocations: 31.97 kB / 0.5114 GB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.319e-05/0.4119, allocations: 27.94 kB / 0.5114 GB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.412, allocations: 4 kB / 0.5115 GB, free: 9.527 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.55e-05/0.412, allocations: 110 kB / 0.5116 GB, free: 9.422 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.412, allocations: 0 / 0.5116 GB, free: 9.422 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002031/0.4122, allocations: 28 kB / 0.5116 GB, free: 9.395 MB / 382.1 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: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.458e-05/0.4123, allocations: 99.23 kB / 0.5117 GB, free: 9.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004989/0.4128, allocations: 362.6 kB / 0.512 GB, free: 8.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4128, allocations: 0 / 0.512 GB, free: 8.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.4131, allocations: 195.3 kB / 0.5122 GB, free: 8.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.4133, allocations: 17.8 kB / 0.5122 GB, free: 8.691 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005258/0.4138, allocations: 323.3 kB / 0.5125 GB, free: 8.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.414, allocations: 0.7004 MB / 0.5132 GB, free: 7.617 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.287e-05/0.4141, allocations: 15.98 kB / 0.5132 GB, free: 7.602 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.4141, allocations: 19.42 kB / 0.5133 GB, free: 7.582 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4141, allocations: 3.938 kB / 0.5133 GB, free: 7.578 MB / 382.1 MB Notification: Performance of Templates: time 0.003632/0.4178, allocations: 1.481 MB / 0.5147 GB, free: 6.109 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) Environment - environmentSimulation: