Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001524/0.001524, allocations: 116.2 kB / 16.42 MB, free: 5.992 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.001717/0.001717, allocations: 184.8 kB / 17.35 MB, free: 5.602 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.36/1.36, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002194/0.002194, allocations: 291.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.015/1.015, allocations: 169.2 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 99.84 kB / 0.6821 GB, free: 7.031 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.463/0.4651, allocations: 86.99 MB / 0.767 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.002925/0.4681, allocations: 1.539 MB / 0.7685 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.4692, allocations: 0.5744 MB / 0.7691 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.606e-05/0.4693, allocations: 0 / 0.7691 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.4695, allocations: 3.938 kB / 0.7691 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.933e-05/0.4696, allocations: 23.78 kB / 0.7691 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.47, allocations: 91.77 kB / 0.7692 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.4702, allocations: 99.64 kB / 0.7693 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.4703, allocations: 20.22 kB / 0.7693 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.4705, allocations: 51.77 kB / 0.7694 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.4706, allocations: 47.83 kB / 0.7694 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.4706, allocations: 4 kB / 0.7694 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.4708, allocations: 83.86 kB / 0.7695 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.323e-05/0.4709, allocations: 27.91 kB / 0.7695 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.328e-05/0.4709, allocations: 43.72 kB / 0.7696 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.4712, allocations: 131.3 kB / 0.7697 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4712, allocations: 7.922 kB / 0.7697 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4712, allocations: 0 / 0.7697 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.4712, allocations: 3.938 kB / 0.7697 GB, free: 1.195 MB / 0.5294 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.0008785/0.4721, allocations: 455.3 kB / 0.7701 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.4721, allocations: 8.031 kB / 0.7701 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.695e-05/0.4722, allocations: 8.844 kB / 0.7702 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.4724, allocations: 196.1 kB / 0.7703 GB, free: 464 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.4724, allocations: 4.375 kB / 0.7703 GB, free: 460 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.4724, allocations: 8.375 kB / 0.7704 GB, free: 452 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.4728, allocations: 105.9 kB / 0.7705 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.4728, allocations: 0 / 0.7705 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.4728, allocations: 4 kB / 0.7705 GB, free: 336 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.4728, allocations: 4 kB / 0.7705 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003436/0.4732, allocations: 95.84 kB / 0.7706 GB, free: 236 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006891/0.4739, allocations: 348.6 kB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.4742, allocations: 90.5 kB / 0.771 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.4744, allocations: 56.88 kB / 0.771 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.4744, allocations: 8 kB / 0.771 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003456/0.4748, allocations: 111.3 kB / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 2.214e-06/0.4748, allocations: 0 / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0006837/0.4755, allocations: 213.6 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.4756, allocations: 59.33 kB / 0.7714 GB, free: 15.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.4757, allocations: 139.8 kB / 0.7715 GB, free: 15.12 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.4757, allocations: 33.7 kB / 0.7716 GB, free: 15.09 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.271e-05/0.4758, allocations: 96.12 kB / 0.7717 GB, free: 14.99 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.4758, allocations: 27.56 kB / 0.7717 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.4759, allocations: 25.7 kB / 0.7717 GB, free: 14.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.476, allocations: 326.8 kB / 0.772 GB, free: 14.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.4762, allocations: 55.95 kB / 0.7721 GB, free: 14.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.4764, allocations: 60.23 kB / 0.7721 GB, free: 14.49 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003761/0.4768, allocations: 142.5 kB / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4768, allocations: 7.938 kB / 0.7723 GB, free: 14.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004781/0.4773, allocations: 199.2 kB / 0.7725 GB, free: 14.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.4773, allocations: 33.7 kB / 0.7725 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4774, allocations: 0 / 0.7725 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.4774, allocations: 0 / 0.7725 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.4775, allocations: 19.97 kB / 0.7725 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.4776, allocations: 3.938 kB / 0.7725 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.4777, allocations: 19.98 kB / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.4777, allocations: 8 kB / 0.7725 GB, free: 14.04 MB / 0.545 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.000114/0.4779, allocations: 125.7 kB / 0.7727 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.4779, allocations: 11.81 kB / 0.7727 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.4779, allocations: 12.72 kB / 0.7727 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.4779, allocations: 0 / 0.7727 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.478, allocations: 0 / 0.7727 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.574e-05/0.478, allocations: 92.94 kB / 0.7728 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.478, allocations: 7.938 kB / 0.7728 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.4782, allocations: 15.98 kB / 0.7728 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.4783, allocations: 7.984 kB / 0.7728 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005507/0.4788, allocations: 240.8 kB / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005005/0.4793, allocations: 334.6 kB / 0.7734 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001941/0.4795, allocations: 63.89 kB / 0.7734 GB, free: 13.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.07e-05/0.4796, allocations: 109.1 kB / 0.7735 GB, free: 12.98 MB / 0.545 GB Notification: Performance of Backend: time 3.3e-07/0.4796, allocations: 0 / 0.7735 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006718/0.4803, allocations: 221.8 kB / 0.7737 GB, free: 12.75 MB / 0.545 GB Notification: Performance of SimCode: time 0.0006238/0.4809, allocations: 0.6414 MB / 0.7744 GB, free: 12.06 MB / 0.545 GB Notification: Performance of Templates: time 0.004814/0.4858, allocations: 1.73 MB / 0.776 GB, free: 10.34 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)