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.001405/0.001405, allocations: 106.7 kB / 15.98 MB, free: 6.352 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.001654/0.001654, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.31/1.31, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7957/0.7957, allocations: 126.1 MB / 416.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.89 kB / 0.4945 GB, free: 3.812 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3631, allocations: 78.7 MB / 0.5713 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002921/0.3661, allocations: 1.588 MB / 0.5729 GB, free: 30.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009942/0.3671, allocations: 0.5685 MB / 0.5734 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.624e-05/0.3672, allocations: 1.125 kB / 0.5734 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.3673, allocations: 6.141 kB / 0.5734 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.77e-05/0.3674, allocations: 21.61 kB / 0.5734 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.3678, allocations: 81.73 kB / 0.5735 GB, free: 29.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.3679, allocations: 96.8 kB / 0.5736 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.368, allocations: 23.56 kB / 0.5736 GB, free: 29.67 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.3682, allocations: 44.47 kB / 0.5737 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.342e-05/0.3683, allocations: 42.41 kB / 0.5737 GB, free: 29.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.3683, allocations: 6.656 kB / 0.5737 GB, free: 29.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.3684, allocations: 75.95 kB / 0.5738 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.224e-05/0.3685, allocations: 17.06 kB / 0.5738 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.984e-05/0.3685, allocations: 38.94 kB / 0.5739 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.3688, allocations: 136.8 kB / 0.574 GB, free: 29.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3688, allocations: 1.625 kB / 0.574 GB, free: 29.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3688, allocations: 0 / 0.574 GB, free: 29.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3688, allocations: 4.531 kB / 0.574 GB, free: 29.52 MB / 446.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.0007118/0.3695, allocations: 454 kB / 0.5744 GB, free: 29.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.3695, allocations: 10.31 kB / 0.5744 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.3696, allocations: 14.95 kB / 0.5744 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.3697, allocations: 196.8 kB / 0.5746 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.3698, allocations: 2.094 kB / 0.5746 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.3698, allocations: 5.406 kB / 0.5746 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.3701, allocations: 108.3 kB / 0.5747 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3701, allocations: 3.938 kB / 0.5747 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.3701, allocations: 1.984 kB / 0.5748 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.3702, allocations: 4.312 kB / 0.5748 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003265/0.3705, allocations: 89.7 kB / 0.5748 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000619/0.3711, allocations: 348.5 kB / 0.5752 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/0.3714, allocations: 98.52 kB / 0.5753 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.3716, allocations: 60.16 kB / 0.5753 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.3716, allocations: 1.562 kB / 0.5753 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003056/0.372, allocations: 111.6 kB / 0.5754 GB, free: 28.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.372, allocations: 0.875 kB / 0.5754 GB, free: 28.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006153/0.3726, allocations: 209.9 kB / 0.5756 GB, free: 28.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.3726, allocations: 58.16 kB / 0.5757 GB, free: 28.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.931e-05/0.3727, allocations: 141.3 kB / 0.5758 GB, free: 28.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.3727, allocations: 27.36 kB / 0.5758 GB, free: 28.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.894e-05/0.3728, allocations: 99.56 kB / 0.5759 GB, free: 28.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.3728, allocations: 31 kB / 0.576 GB, free: 27.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.3729, allocations: 32.02 kB / 0.576 GB, free: 27.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.757e-05/0.3729, allocations: 325.7 kB / 0.5763 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.3731, allocations: 58.08 kB / 0.5764 GB, free: 27.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.3733, allocations: 59.48 kB / 0.5764 GB, free: 27.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.3736, allocations: 151.9 kB / 0.5766 GB, free: 27.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3736, allocations: 0 / 0.5766 GB, free: 27.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004308/0.3741, allocations: 193.6 kB / 0.5768 GB, free: 27.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.3741, allocations: 34.59 kB / 0.5768 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3741, allocations: 0.7188 kB / 0.5768 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.3741, allocations: 1.125 kB / 0.5768 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.3743, allocations: 26.97 kB / 0.5768 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.3743, allocations: 2.812 kB / 0.5768 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.3745, allocations: 18.95 kB / 0.5768 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.3745, allocations: 3.141 kB / 0.5768 GB, free: 27.41 MB / 446.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.244e-05/0.3746, allocations: 124.9 kB / 0.577 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.3746, allocations: 8.984 kB / 0.577 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/0.3746, allocations: 16.11 kB / 0.577 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.3746, allocations: 4.281 kB / 0.577 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3746, allocations: 1.719 kB / 0.577 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3747, allocations: 1.656 kB / 0.577 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.3748, allocations: 199 kB / 0.5772 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3748, allocations: 0 / 0.5772 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.3749, allocations: 17.03 kB / 0.5772 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.3749, allocations: 2.953 kB / 0.5772 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.3749, allocations: 4.781 kB / 0.5772 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3749, allocations: 6.031 kB / 0.5772 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.375, allocations: 8.453 kB / 0.5772 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/0.3754, allocations: 186 kB / 0.5774 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.5e-05/0.3754, allocations: 85.23 kB / 0.5775 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.3754, allocations: 1.344 kB / 0.5775 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.3756, allocations: 14.77 kB / 0.5775 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.407e-05/0.3757, allocations: 14 kB / 0.5775 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.3757, allocations: 6.5 kB / 0.5775 GB, free: 26.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.322e-05/0.3757, allocations: 105 kB / 0.5776 GB, free: 26.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.3757, allocations: 1.969 kB / 0.5776 GB, free: 26.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.376, allocations: 45.06 kB / 0.5777 GB, free: 26.76 MB / 446.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.0001416/0.3762, allocations: 115.3 kB / 0.5778 GB, free: 26.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004455/0.3766, allocations: 187.4 kB / 0.5779 GB, free: 26.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3766, allocations: 0 / 0.5779 GB, free: 26.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.3768, allocations: 67.36 kB / 0.578 GB, free: 26.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.377, allocations: 12.52 kB / 0.578 GB, free: 26.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004565/0.3775, allocations: 257.2 kB / 0.5783 GB, free: 26.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.3776, allocations: 0.6991 MB / 0.579 GB, free: 25.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.592e-05/0.3777, allocations: 16.69 kB / 0.579 GB, free: 25.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.3778, allocations: 18.78 kB / 0.579 GB, free: 25.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3778, allocations: 0 / 0.579 GB, free: 25.66 MB / 446.1 MB Notification: Performance of Templates: time 0.003418/0.3812, allocations: 1.332 MB / 0.5803 GB, free: 25.02 MB / 446.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)