Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7922/0.7922, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001497/0.001497, allocations: 184.8 kB / 169.7 MB, free: 1.73 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.1 MB / 404.5 MB, free: 1.578 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008451/0.0008452, allocations: 86.28 kB / 481.8 MB, free: 4.227 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.19e-05/2.2e-05, allocations: 0 / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1235, allocations: 76.76 MB / 0.6281 GB, free: 10.03 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4459/0.5694, allocations: 103.9 MB / 0.7296 GB, free: 9.449 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/0.5696, allocations: 72.45 kB / 0.7297 GB, free: 9.41 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0058/0.5754, allocations: 1.902 MB / 0.7316 GB, free: 7.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5755, allocations: 0 / 0.7316 GB, free: 7.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.5755, allocations: 4 kB / 0.7316 GB, free: 7.746 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005977/0.5761, allocations: 467.4 kB / 0.732 GB, free: 7.242 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.5761, allocations: 12.03 kB / 0.732 GB, free: 7.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/0.5762, allocations: 11.86 kB / 0.732 GB, free: 7.219 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.5764, allocations: 204.2 kB / 0.7322 GB, free: 6.984 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.5765, allocations: 0 / 0.7322 GB, free: 6.984 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.5765, allocations: 11.31 kB / 0.7322 GB, free: 6.977 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.5767, allocations: 103.3 kB / 0.7323 GB, free: 6.887 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.5767, allocations: 4 kB / 0.7323 GB, free: 6.883 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.5768, allocations: 7.141 kB / 0.7324 GB, free: 6.879 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.5768, allocations: 0 / 0.7324 GB, free: 6.879 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.5769, allocations: 66.66 kB / 0.7324 GB, free: 6.832 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006447/0.5776, allocations: 360.9 kB / 0.7328 GB, free: 6.457 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.5777, allocations: 99.62 kB / 0.7329 GB, free: 6.383 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.5778, allocations: 64.47 kB / 0.7329 GB, free: 6.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.5779, allocations: 7.984 kB / 0.7329 GB, free: 6.332 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.5781, allocations: 112.9 kB / 0.733 GB, free: 6.227 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.5781, allocations: 4 kB / 0.733 GB, free: 6.223 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003592/0.5784, allocations: 191.7 kB / 0.7332 GB, free: 6.055 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.5785, allocations: 91.91 kB / 0.7333 GB, free: 5.949 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.5786, allocations: 126.7 kB / 0.7334 GB, free: 5.832 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.5787, allocations: 25.7 kB / 0.7335 GB, free: 5.801 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.5787, allocations: 106.4 kB / 0.7336 GB, free: 5.703 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.5788, allocations: 35.23 kB / 0.7336 GB, free: 5.672 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-06/0.5788, allocations: 0 / 0.7336 GB, free: 5.672 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.5789, allocations: 321.5 kB / 0.7339 GB, free: 5.355 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.856e-05/0.579, allocations: 58.16 kB / 0.7339 GB, free: 5.312 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.485e-05/0.5791, allocations: 52.86 kB / 0.734 GB, free: 5.277 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.5793, allocations: 117 kB / 0.7341 GB, free: 5.168 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5793, allocations: 3.953 kB / 0.7341 GB, free: 5.164 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003265/0.5796, allocations: 232.3 kB / 0.7343 GB, free: 4.957 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.64e-05/0.5797, allocations: 70.95 kB / 0.7344 GB, free: 4.879 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.5797, allocations: 7.984 kB / 0.7344 GB, free: 4.871 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.5797, allocations: 192 / 0.7344 GB, free: 4.871 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.5799, allocations: 23.98 kB / 0.7344 GB, free: 4.848 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.5799, allocations: 3.938 kB / 0.7344 GB, free: 4.844 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.5801, allocations: 43.8 kB / 0.7345 GB, free: 4.801 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.5801, allocations: 7.25 kB / 0.7345 GB, free: 4.797 MB / 490.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: 2 * Record equations: 0 * 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 0.0001174/0.5802, allocations: 142.5 kB / 0.7346 GB, free: 4.648 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.5803, allocations: 19.86 kB / 0.7346 GB, free: 4.629 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.5803, allocations: 19.67 kB / 0.7347 GB, free: 4.617 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.5803, allocations: 0 / 0.7347 GB, free: 4.617 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5803, allocations: 0 / 0.7347 GB, free: 4.617 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5803, allocations: 0 / 0.7347 GB, free: 4.617 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.5805, allocations: 199.9 kB / 0.7348 GB, free: 4.387 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5805, allocations: 0 / 0.7348 GB, free: 4.387 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.5806, allocations: 27.88 kB / 0.7349 GB, free: 4.359 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-06/0.5807, allocations: 4 kB / 0.7349 GB, free: 4.355 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.5807, allocations: 15.92 kB / 0.7349 GB, free: 4.344 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.5807, allocations: 0 / 0.7349 GB, free: 4.344 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5807, allocations: 3.938 kB / 0.7349 GB, free: 4.34 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.5811, allocations: 237.2 kB / 0.7351 GB, free: 4.121 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/0.5811, allocations: 89 kB / 0.7352 GB, free: 4.016 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.5812, allocations: 11.89 kB / 0.7352 GB, free: 4.004 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.5813, allocations: 35.95 kB / 0.7353 GB, free: 3.969 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.5815, allocations: 22.78 kB / 0.7353 GB, free: 3.953 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.5815, allocations: 4 kB / 0.7353 GB, free: 3.949 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.575e-05/0.5815, allocations: 108.3 kB / 0.7354 GB, free: 3.855 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5816, allocations: 4 kB / 0.7354 GB, free: 3.852 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000203/0.5818, allocations: 24 kB / 0.7354 GB, free: 3.828 MB / 490.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: 1 * Record equations: 0 * 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.0001284/0.5819, allocations: 110.2 kB / 0.7355 GB, free: 3.715 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003613/0.5823, allocations: 293.9 kB / 0.7358 GB, free: 3.461 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5823, allocations: 0 / 0.7358 GB, free: 3.461 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.5825, allocations: 163.5 kB / 0.736 GB, free: 3.324 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.5826, allocations: 11.31 kB / 0.736 GB, free: 3.316 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004381/0.5831, allocations: 206.5 kB / 0.7362 GB, free: 3.121 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.5834, allocations: 0.7082 MB / 0.7369 GB, free: 2.387 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.693e-05/0.5835, allocations: 11.98 kB / 0.7369 GB, free: 2.375 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.5835, allocations: 11.44 kB / 0.7369 GB, free: 2.363 MB / 490.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5835, allocations: 0 / 0.7369 GB, free: 2.363 MB / 490.7 MB Notification: Performance of Templates: time 0.003737/0.5873, allocations: 1.477 MB / 0.7383 GB, free: 0.9023 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)