Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker") translateModel(IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001111/0.001111, allocations: 93.5 kB / 16.02 MB, free: 84 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.001403/0.001403, allocations: 181.2 kB / 16.92 MB, free: 6.914 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: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7416/0.7416, allocations: 123 MB / 415.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.0003331, allocations: 8.562 kB / 0.4933 GB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3877, allocations: 79.27 MB / 0.5707 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.001865/0.3897, allocations: 1.259 MB / 0.572 GB, free: 9.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.3907, allocations: 0.5767 MB / 0.5725 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.493e-05/0.3908, allocations: 0.9375 kB / 0.5725 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.303e-05/0.3909, allocations: 7.156 kB / 0.5725 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.637e-05/0.3909, allocations: 25.31 kB / 0.5725 GB, free: 9.582 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.3913, allocations: 69.36 kB / 0.5726 GB, free: 9.551 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.3915, allocations: 89.91 kB / 0.5727 GB, free: 9.512 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3916, allocations: 15.53 kB / 0.5727 GB, free: 9.504 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.3917, allocations: 46.83 kB / 0.5728 GB, free: 9.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.3918, allocations: 44.47 kB / 0.5728 GB, free: 9.461 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.3919, allocations: 3.719 kB / 0.5728 GB, free: 9.461 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.392, allocations: 56.42 kB / 0.5729 GB, free: 9.445 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.63e-05/0.392, allocations: 17 kB / 0.5729 GB, free: 9.438 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.845e-05/0.3921, allocations: 62.81 kB / 0.5729 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.3924, allocations: 131.1 kB / 0.5731 GB, free: 9.344 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3924, allocations: 1 kB / 0.5731 GB, free: 9.344 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3924, allocations: 0 / 0.5731 GB, free: 9.344 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3924, allocations: 0 / 0.5731 GB, free: 9.344 MB / 430.1 MB 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.0007404/0.3931, allocations: 448.8 kB / 0.5735 GB, free: 8.926 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.3932, allocations: 13.53 kB / 0.5735 GB, free: 8.922 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.373e-05/0.3932, allocations: 10.55 kB / 0.5735 GB, free: 8.918 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.3934, allocations: 191.4 kB / 0.5737 GB, free: 8.707 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3934, allocations: 15.97 kB / 0.5737 GB, free: 8.695 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.3934, allocations: 7.562 kB / 0.5737 GB, free: 8.691 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/0.3938, allocations: 115.1 kB / 0.5738 GB, free: 8.641 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.3938, allocations: 0 / 0.5738 GB, free: 8.641 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.3938, allocations: 5.391 kB / 0.5738 GB, free: 8.637 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.3939, allocations: 4.078 kB / 0.5738 GB, free: 8.637 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003796/0.3942, allocations: 105.4 kB / 0.5739 GB, free: 8.621 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006143/0.3949, allocations: 369.9 kB / 0.5743 GB, free: 8.309 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/0.3952, allocations: 110.2 kB / 0.5744 GB, free: 8.266 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.3954, allocations: 67.86 kB / 0.5745 GB, free: 8.246 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.3955, allocations: 0 / 0.5745 GB, free: 8.246 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003362/0.3958, allocations: 131.2 kB / 0.5746 GB, free: 8.176 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/0.3958, allocations: 4 kB / 0.5746 GB, free: 8.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007605/0.3966, allocations: 231.1 kB / 0.5748 GB, free: 8.105 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.3966, allocations: 62.11 kB / 0.5749 GB, free: 8.035 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.3967, allocations: 142.2 kB / 0.575 GB, free: 7.922 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.3968, allocations: 26.7 kB / 0.575 GB, free: 7.891 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.3968, allocations: 99.12 kB / 0.5751 GB, free: 7.797 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.3968, allocations: 30.17 kB / 0.5752 GB, free: 7.773 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.3969, allocations: 18.06 kB / 0.5752 GB, free: 7.754 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.518e-05/0.3969, allocations: 325.1 kB / 0.5755 GB, free: 7.434 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.3972, allocations: 65.61 kB / 0.5755 GB, free: 7.422 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.3974, allocations: 67.77 kB / 0.5756 GB, free: 7.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004022/0.3978, allocations: 165.5 kB / 0.5758 GB, free: 7.344 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3978, allocations: 3.938 kB / 0.5758 GB, free: 7.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000506/0.3983, allocations: 221.5 kB / 0.576 GB, free: 7.238 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.3983, allocations: 32.7 kB / 0.576 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3984, allocations: 0.9688 kB / 0.576 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3984, allocations: 0.7812 kB / 0.576 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.3985, allocations: 26.92 kB / 0.576 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3986, allocations: 4.625 kB / 0.576 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.3987, allocations: 23.05 kB / 0.5761 GB, free: 7.195 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.3987, allocations: 4.109 kB / 0.5761 GB, free: 7.195 MB / 430.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 (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 7.732e-05/0.3988, allocations: 121.1 kB / 0.5762 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.3989, allocations: 9.109 kB / 0.5762 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.129e-05/0.3989, allocations: 16 kB / 0.5762 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.3989, allocations: 13 kB / 0.5762 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3989, allocations: 0.75 kB / 0.5762 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3989, allocations: 0.7031 kB / 0.5762 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.3991, allocations: 202.3 kB / 0.5764 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3991, allocations: 1.125 kB / 0.5764 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.3992, allocations: 21.31 kB / 0.5764 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3993, allocations: 0 / 0.5764 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.3993, allocations: 2.5 kB / 0.5764 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.3993, allocations: 0.6094 kB / 0.5764 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3993, allocations: 5.094 kB / 0.5764 GB, free: 6.836 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004822/0.3998, allocations: 206.3 kB / 0.5766 GB, free: 6.734 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.989e-05/0.3998, allocations: 92.45 kB / 0.5767 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.3999, allocations: 2.328 kB / 0.5767 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.4, allocations: 17.39 kB / 0.5767 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.4001, allocations: 15.05 kB / 0.5768 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.4001, allocations: 3.75 kB / 0.5768 GB, free: 6.625 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.139e-05/0.4002, allocations: 111.7 kB / 0.5769 GB, free: 6.539 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4002, allocations: 0 / 0.5769 GB, free: 6.539 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002882/0.4005, allocations: 40.17 kB / 0.5769 GB, free: 6.531 MB / 430.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: 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.0001662/0.4007, allocations: 117.3 kB / 0.577 GB, free: 6.438 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005215/0.4012, allocations: 208.5 kB / 0.5772 GB, free: 6.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4012, allocations: 0 / 0.5772 GB, free: 6.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.4015, allocations: 75.38 kB / 0.5773 GB, free: 6.324 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.4017, allocations: 11.31 kB / 0.5773 GB, free: 6.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005361/0.4022, allocations: 265.9 kB / 0.5776 GB, free: 6.129 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.4024, allocations: 0.6984 MB / 0.5782 GB, free: 5.434 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.103e-05/0.4025, allocations: 15.19 kB / 0.5783 GB, free: 5.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.026e-05/0.4025, allocations: 12.98 kB / 0.5783 GB, free: 5.422 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4025, allocations: 4 kB / 0.5783 GB, free: 5.418 MB / 430.1 MB Notification: Performance of Templates: time 0.004414/0.4069, allocations: 1.263 MB / 0.5795 GB, free: 5.312 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)