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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5243/0.5243, allocations: 90.92 MB / 99.35 MB, free: 2.199 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 221.5 MB / 343.2 MB, free: 1.605 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008668/0.0008668, allocations: 91.89 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.269e-05/1.271e-05, allocations: 0 / 494.5 MB, free: 52.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1463, allocations: 72.32 MB / 0.5535 GB, free: 12.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4793/0.6257, allocations: 102.4 MB / 0.6535 GB, free: 7.898 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000167/0.6259, allocations: 73.02 kB / 0.6536 GB, free: 7.859 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009752/0.6356, allocations: 3.519 MB / 0.657 GB, free: 4.82 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6357, allocations: 0 / 0.657 GB, free: 4.82 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.6357, allocations: 4 kB / 0.657 GB, free: 4.816 MB / 458.7 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.0006764/0.6364, allocations: 439.6 kB / 0.6574 GB, free: 4.344 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.6364, allocations: 12.03 kB / 0.6575 GB, free: 4.332 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.459e-05/0.6365, allocations: 15.48 kB / 0.6575 GB, free: 4.32 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.6368, allocations: 189.1 kB / 0.6577 GB, free: 4.098 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.6368, allocations: 4 kB / 0.6577 GB, free: 4.094 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.6368, allocations: 0 / 0.6577 GB, free: 4.094 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001478/0.637, allocations: 45.92 kB / 0.6577 GB, free: 4.062 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.6371, allocations: 78.86 kB / 0.6578 GB, free: 3.992 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.6372, allocations: 4.688 kB / 0.6578 GB, free: 3.988 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.6372, allocations: 0 / 0.6578 GB, free: 3.988 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.6372, allocations: 0 / 0.6578 GB, free: 3.988 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006489/0.6379, allocations: 338.4 kB / 0.6581 GB, free: 3.648 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.638, allocations: 56.62 kB / 0.6582 GB, free: 3.598 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.281e-05/0.6381, allocations: 38.81 kB / 0.6582 GB, free: 3.566 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.6381, allocations: 8.062 kB / 0.6582 GB, free: 3.559 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.6382, allocations: 90.61 kB / 0.6583 GB, free: 3.469 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.6383, allocations: 0 / 0.6583 GB, free: 3.469 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003357/0.6386, allocations: 104.7 kB / 0.6584 GB, free: 3.379 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.6386, allocations: 55.39 kB / 0.6584 GB, free: 3.312 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.6388, allocations: 128.5 kB / 0.6586 GB, free: 3.191 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.6388, allocations: 29.7 kB / 0.6586 GB, free: 3.156 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.102e-05/0.6389, allocations: 101.9 kB / 0.6587 GB, free: 3.062 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.6389, allocations: 22.83 kB / 0.6587 GB, free: 3.043 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-06/0.639, allocations: 0 / 0.6587 GB, free: 3.043 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.6391, allocations: 322.1 kB / 0.659 GB, free: 2.727 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.381e-05/0.6392, allocations: 29.5 kB / 0.659 GB, free: 2.707 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.181e-05/0.6392, allocations: 29.67 kB / 0.6591 GB, free: 2.688 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.149e-05/0.6393, allocations: 36.72 kB / 0.6591 GB, free: 2.664 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.6393, allocations: 4 kB / 0.6591 GB, free: 2.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002119/0.6396, allocations: 127.4 kB / 0.6592 GB, free: 2.551 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/0.6396, allocations: 33.7 kB / 0.6593 GB, free: 2.512 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.6396, allocations: 3.984 kB / 0.6593 GB, free: 2.508 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.6396, allocations: 0 / 0.6593 GB, free: 2.508 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.6398, allocations: 19.98 kB / 0.6593 GB, free: 2.488 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.6398, allocations: 4 kB / 0.6593 GB, free: 2.484 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.64, allocations: 27.83 kB / 0.6593 GB, free: 2.457 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.64, allocations: 11.42 kB / 0.6593 GB, free: 2.449 MB / 458.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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 8.346e-05/0.6401, allocations: 101 kB / 0.6594 GB, free: 2.344 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.6401, allocations: 24.66 kB / 0.6594 GB, free: 2.32 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.6404, allocations: 110.9 kB / 0.6596 GB, free: 2.227 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.6404, allocations: 192 / 0.6596 GB, free: 2.227 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6404, allocations: 0 / 0.6596 GB, free: 2.227 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.6404, allocations: 7.938 kB / 0.6596 GB, free: 2.219 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.6406, allocations: 180 kB / 0.6597 GB, free: 2.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.6406, allocations: 0 / 0.6597 GB, free: 2.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.6407, allocations: 27.92 kB / 0.6598 GB, free: 1.992 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.6407, allocations: 0 / 0.6598 GB, free: 1.992 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.6408, allocations: 15.69 kB / 0.6598 GB, free: 1.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.6408, allocations: 0 / 0.6598 GB, free: 1.98 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.6408, allocations: 0 / 0.6598 GB, free: 1.98 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.641, allocations: 134.2 kB / 0.6599 GB, free: 1.848 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/0.641, allocations: 84.95 kB / 0.66 GB, free: 1.746 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.6411, allocations: 4 kB / 0.66 GB, free: 1.742 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.6412, allocations: 23.19 kB / 0.66 GB, free: 1.723 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.61e-05/0.6413, allocations: 11.97 kB / 0.66 GB, free: 1.711 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.6413, allocations: 4 kB / 0.66 GB, free: 1.707 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.45e-05/0.6414, allocations: 115.3 kB / 0.6601 GB, free: 1.605 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6414, allocations: 0 / 0.6601 GB, free: 1.605 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002369/0.6416, allocations: 39.94 kB / 0.6602 GB, free: 1.566 MB / 458.7 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001791/0.6418, allocations: 115.2 kB / 0.6603 GB, free: 1.445 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002271/0.642, allocations: 162.8 kB / 0.6604 GB, free: 1.293 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.642, allocations: 0 / 0.6604 GB, free: 1.293 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.312e-05/0.6421, allocations: 71.94 kB / 0.6605 GB, free: 1.227 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.6423, allocations: 12.42 kB / 0.6605 GB, free: 1.219 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.6427, allocations: 142.5 kB / 0.6607 GB, free: 1.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.643, allocations: 0.7041 MB / 0.6613 GB, free: 348 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.858e-05/0.6431, allocations: 11.77 kB / 0.6614 GB, free: 336 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.6431, allocations: 11.44 kB / 0.6614 GB, free: 324 kB / 458.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6431, allocations: 4 kB / 0.6614 GB, free: 320 kB / 458.7 MB Notification: Performance of Templates: time 0.003372/0.6465, allocations: 1.229 MB / 0.6626 GB, free: 15.1 MB / 474.7 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)