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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 185.5 kB / 7.801 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4404/0.4404, allocations: 90.86 MB / 99.08 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.208/1.208, allocations: 221.4 MB / 342.8 MB, free: 5.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 85.16 kB / 415.5 MB, free: 6.414 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.593e-06/6.683e-06, allocations: 0 / 493.9 MB, free: 8.047 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3948, allocations: 72.29 MB / 0.5529 GB, free: 73.39 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1231/0.518, allocations: 102.3 MB / 0.6528 GB, free: 7.676 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.5182, allocations: 63.97 kB / 0.6529 GB, free: 7.613 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01035/0.5286, allocations: 3.231 MB / 0.656 GB, free: 4.434 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.5287, allocations: 0 / 0.656 GB, free: 4.434 MB / 474.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.0006884/0.5294, allocations: 447.8 kB / 0.6564 GB, free: 3.945 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.5294, allocations: 8.031 kB / 0.6565 GB, free: 3.938 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.5295, allocations: 11.91 kB / 0.6565 GB, free: 3.926 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.5297, allocations: 194.8 kB / 0.6567 GB, free: 3.695 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.5297, allocations: 0 / 0.6567 GB, free: 3.695 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.5298, allocations: 12 kB / 0.6567 GB, free: 3.684 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001343/0.5299, allocations: 47.83 kB / 0.6567 GB, free: 3.637 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.53, allocations: 69.66 kB / 0.6568 GB, free: 3.562 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.5301, allocations: 0 / 0.6568 GB, free: 3.562 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.5301, allocations: 0 / 0.6568 GB, free: 3.562 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.5301, allocations: 4 kB / 0.6568 GB, free: 3.559 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006359/0.5307, allocations: 349.2 kB / 0.6571 GB, free: 3.18 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.5309, allocations: 58.5 kB / 0.6572 GB, free: 3.113 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.076e-05/0.5309, allocations: 29 kB / 0.6572 GB, free: 3.082 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.531, allocations: 7.984 kB / 0.6572 GB, free: 3.074 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001232/0.5311, allocations: 83.28 kB / 0.6573 GB, free: 2.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.5311, allocations: 0 / 0.6573 GB, free: 2.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002845/0.5314, allocations: 97.52 kB / 0.6574 GB, free: 2.879 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.5314, allocations: 63.41 kB / 0.6574 GB, free: 2.805 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.627e-05/0.5315, allocations: 122.6 kB / 0.6576 GB, free: 2.68 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.5316, allocations: 25.7 kB / 0.6576 GB, free: 2.648 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.5316, allocations: 99.97 kB / 0.6577 GB, free: 2.547 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.5317, allocations: 23.7 kB / 0.6577 GB, free: 2.523 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/0.5317, allocations: 2.812 kB / 0.6577 GB, free: 2.523 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.5318, allocations: 326.7 kB / 0.658 GB, free: 2.195 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.306e-05/0.5319, allocations: 28 kB / 0.658 GB, free: 2.168 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.69e-05/0.5319, allocations: 39.98 kB / 0.6581 GB, free: 2.129 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.04e-05/0.532, allocations: 31.98 kB / 0.6581 GB, free: 2.098 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.532, allocations: 0 / 0.6581 GB, free: 2.098 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002178/0.5322, allocations: 123.6 kB / 0.6582 GB, free: 1.973 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.5323, allocations: 4 kB / 0.6582 GB, free: 1.969 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.5323, allocations: 0 / 0.6582 GB, free: 1.969 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.5323, allocations: 0 / 0.6582 GB, free: 1.969 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.5325, allocations: 27.98 kB / 0.6583 GB, free: 1.941 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.207e-06/0.5325, allocations: 0 / 0.6583 GB, free: 1.941 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.5326, allocations: 37.31 kB / 0.6583 GB, free: 1.906 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.5327, allocations: 4 kB / 0.6583 GB, free: 1.902 MB / 474.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 7.254e-05/0.5328, allocations: 105 kB / 0.6584 GB, free: 1.793 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.5328, allocations: 11.81 kB / 0.6584 GB, free: 1.781 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.533, allocations: 118.1 kB / 0.6585 GB, free: 1.66 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5331, allocations: 4 kB / 0.6585 GB, free: 1.656 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5331, allocations: 0 / 0.6585 GB, free: 1.656 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5331, allocations: 0 / 0.6585 GB, free: 1.656 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.5332, allocations: 186.1 kB / 0.6587 GB, free: 1.438 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.5332, allocations: 1.875 kB / 0.6587 GB, free: 1.438 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.5334, allocations: 23.98 kB / 0.6587 GB, free: 1.414 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.5334, allocations: 0 / 0.6587 GB, free: 1.414 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.5334, allocations: 7.984 kB / 0.6587 GB, free: 1.406 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.5334, allocations: 1.812 kB / 0.6587 GB, free: 1.406 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5334, allocations: 3.938 kB / 0.6587 GB, free: 1.402 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002055/0.5336, allocations: 132.9 kB / 0.6589 GB, free: 1.254 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.5337, allocations: 85.02 kB / 0.6589 GB, free: 1.152 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.5337, allocations: 0 / 0.6589 GB, free: 1.152 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.5339, allocations: 23.98 kB / 0.659 GB, free: 1.129 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.534, allocations: 11.97 kB / 0.659 GB, free: 1.117 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.534, allocations: 8 kB / 0.659 GB, free: 1.109 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.967e-05/0.534, allocations: 102.4 kB / 0.6591 GB, free: 1.012 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002558/0.5343, allocations: 45.47 kB / 0.6591 GB, free: 0.9688 MB / 474.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.0001973/0.5345, allocations: 124.8 kB / 0.6592 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002177/0.5347, allocations: 127.4 kB / 0.6594 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5347, allocations: 4 kB / 0.6594 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.787e-05/0.5349, allocations: 76.12 kB / 0.6594 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.535, allocations: 11.89 kB / 0.6595 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.5355, allocations: 139.3 kB / 0.6596 GB, free: 460 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/0.5358, allocations: 0.7153 MB / 0.6603 GB, free: 15.7 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5358, allocations: 0 / 0.6603 GB, free: 15.7 MB / 490.7 MB Notification: Performance of Templates: time 0.004028/0.5399, allocations: 1.455 MB / 0.6617 GB, free: 14.29 MB / 490.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)