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.00133/0.00133, allocations: 102.4 kB / 15.98 MB, free: 6.348 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.001311/0.001312, allocations: 197.8 kB / 16.91 MB, free: 6.191 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.3/1.3, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7252/0.7252, allocations: 122.9 MB / 413.6 MB, free: 40 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 59.91 kB / 0.4906 GB, free: 7.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3169, allocations: 77.93 MB / 0.5667 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002568/0.3195, allocations: 1.601 MB / 0.5683 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008827/0.3204, allocations: 0.5703 MB / 0.5688 GB, free: 30.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.058e-05/0.3204, allocations: 1 kB / 0.5688 GB, free: 30.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.3206, allocations: 8.203 kB / 0.5688 GB, free: 30.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.479e-05/0.3206, allocations: 12.19 kB / 0.5688 GB, free: 30.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.321, allocations: 81.77 kB / 0.5689 GB, free: 30.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.3211, allocations: 97.41 kB / 0.569 GB, free: 30.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3213, allocations: 26.22 kB / 0.569 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.3214, allocations: 49.02 kB / 0.5691 GB, free: 30.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.582e-05/0.3215, allocations: 50.5 kB / 0.5691 GB, free: 30.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.3215, allocations: 7.719 kB / 0.5691 GB, free: 30.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.3216, allocations: 59.42 kB / 0.5692 GB, free: 30.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.446e-05/0.3217, allocations: 20.84 kB / 0.5692 GB, free: 30.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.092e-05/0.3217, allocations: 39 kB / 0.5693 GB, free: 30.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.322, allocations: 133.7 kB / 0.5694 GB, free: 30.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.322, allocations: 0 / 0.5694 GB, free: 30.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.322, allocations: 2.359 kB / 0.5694 GB, free: 30.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.322, allocations: 0 / 0.5694 GB, free: 30.34 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.0007409/0.3227, allocations: 456.6 kB / 0.5698 GB, free: 29.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.3228, allocations: 12.28 kB / 0.5698 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.3228, allocations: 10.94 kB / 0.5698 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.323, allocations: 195.5 kB / 0.57 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.323, allocations: 3.078 kB / 0.57 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.323, allocations: 8.312 kB / 0.57 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.3233, allocations: 107.2 kB / 0.5701 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3234, allocations: 0 / 0.5701 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.3234, allocations: 1.703 kB / 0.5702 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.3234, allocations: 4.969 kB / 0.5702 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.3238, allocations: 97.3 kB / 0.5702 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006136/0.3244, allocations: 355.4 kB / 0.5706 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.3247, allocations: 88.84 kB / 0.5707 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.3249, allocations: 65.31 kB / 0.5707 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.3249, allocations: 0 / 0.5707 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003271/0.3252, allocations: 111.1 kB / 0.5708 GB, free: 29.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.684e-06/0.3252, allocations: 1.156 kB / 0.5708 GB, free: 29.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006513/0.3259, allocations: 211.1 kB / 0.571 GB, free: 29.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.3259, allocations: 54.97 kB / 0.5711 GB, free: 29.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.017e-05/0.326, allocations: 137.9 kB / 0.5712 GB, free: 28.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.3261, allocations: 36.02 kB / 0.5713 GB, free: 28.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/0.3261, allocations: 94.89 kB / 0.5714 GB, free: 28.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.3261, allocations: 34.27 kB / 0.5714 GB, free: 28.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/0.3262, allocations: 26.17 kB / 0.5714 GB, free: 28.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.988e-05/0.3262, allocations: 326.4 kB / 0.5717 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.3264, allocations: 56.23 kB / 0.5718 GB, free: 28.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.3266, allocations: 58.78 kB / 0.5718 GB, free: 28.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.327, allocations: 153 kB / 0.572 GB, free: 28.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.327, allocations: 1.266 kB / 0.572 GB, free: 28.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000447/0.3274, allocations: 197.6 kB / 0.5722 GB, free: 28.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.3275, allocations: 31.7 kB / 0.5722 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3275, allocations: 2.5 kB / 0.5722 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3275, allocations: 0 / 0.5722 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.3276, allocations: 23.08 kB / 0.5722 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3277, allocations: 1.188 kB / 0.5722 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.3278, allocations: 20.41 kB / 0.5722 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.3278, allocations: 2.766 kB / 0.5722 GB, free: 28.23 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.53e-05/0.3279, allocations: 126.1 kB / 0.5724 GB, free: 28.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.3279, allocations: 10.19 kB / 0.5724 GB, free: 28.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.328, allocations: 12.91 kB / 0.5724 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.328, allocations: 4.125 kB / 0.5724 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.328, allocations: 2.156 kB / 0.5724 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.328, allocations: 1.719 kB / 0.5724 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.3282, allocations: 202.3 kB / 0.5726 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3282, allocations: 1.094 kB / 0.5726 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.3283, allocations: 16.05 kB / 0.5726 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3283, allocations: 1.812 kB / 0.5726 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.3283, allocations: 8.469 kB / 0.5726 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3283, allocations: 3.938 kB / 0.5726 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3283, allocations: 1.062 kB / 0.5726 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.3288, allocations: 183.2 kB / 0.5728 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.718e-05/0.3288, allocations: 84.58 kB / 0.5729 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.3288, allocations: 6.188 kB / 0.5729 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.329, allocations: 19.08 kB / 0.5729 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/0.329, allocations: 10.83 kB / 0.5729 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.329, allocations: 2.75 kB / 0.5729 GB, free: 27.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.858e-05/0.3291, allocations: 111.6 kB / 0.573 GB, free: 27.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3291, allocations: 4.469 kB / 0.573 GB, free: 27.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.3294, allocations: 36.19 kB / 0.5731 GB, free: 27.58 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.0001436/0.3295, allocations: 118.1 kB / 0.5732 GB, free: 27.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004753/0.33, allocations: 190.3 kB / 0.5733 GB, free: 27.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.33, allocations: 2.188 kB / 0.5734 GB, free: 27.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.3302, allocations: 67.5 kB / 0.5734 GB, free: 27.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.3305, allocations: 15.48 kB / 0.5734 GB, free: 27.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005118/0.331, allocations: 265.5 kB / 0.5737 GB, free: 27.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.3311, allocations: 0.6981 MB / 0.5744 GB, free: 26.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.766e-05/0.3312, allocations: 21.5 kB / 0.5744 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.3313, allocations: 13.61 kB / 0.5744 GB, free: 26.47 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3313, allocations: 1.469 kB / 0.5744 GB, free: 26.47 MB / 446.1 MB Notification: Performance of Templates: time 0.004071/0.3353, allocations: 1.323 MB / 0.5757 GB, free: 26.41 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)