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.7682/0.7682, allocations: 128.7 MB / 143.7 MB, free: 2.281 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001214/0.001214, allocations: 188.4 kB / 173.8 MB, free: 6.098 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.87/1.87, allocations: 205.4 MB / 409 MB, free: 10.48 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.001031/0.001031, allocations: 90.81 kB / 486.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003643, allocations: 10.34 kB / 0.5603 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1817, allocations: 76.77 MB / 0.6353 GB, free: 30.53 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1517/0.3335, allocations: 104 MB / 0.7369 GB, free: 6.371 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.3338, allocations: 79.94 kB / 0.737 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.006139/0.3399, allocations: 1.913 MB / 0.7388 GB, free: 4.367 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.994e-06/0.34, allocations: 3.938 kB / 0.7388 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.34, allocations: 8 kB / 0.7388 GB, free: 4.355 MB / 0.5105 GB 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.0007361/0.3407, allocations: 476.7 kB / 0.7393 GB, free: 3.832 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.3408, allocations: 12.03 kB / 0.7393 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.098e-05/0.3409, allocations: 15.86 kB / 0.7393 GB, free: 3.805 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.3411, allocations: 198.9 kB / 0.7395 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.3412, allocations: 8 kB / 0.7395 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.3412, allocations: 7.938 kB / 0.7395 GB, free: 3.555 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003594/0.3416, allocations: 137.6 kB / 0.7397 GB, free: 3.414 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3416, allocations: 0 / 0.7397 GB, free: 3.414 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.3416, allocations: 7.891 kB / 0.7397 GB, free: 3.406 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3416, allocations: 0 / 0.7397 GB, free: 3.406 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003618/0.342, allocations: 127.9 kB / 0.7398 GB, free: 3.281 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006344/0.3426, allocations: 368.6 kB / 0.7401 GB, free: 2.871 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.343, allocations: 138.5 kB / 0.7403 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.343, allocations: 4 kB / 0.7403 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003159/0.3434, allocations: 155.4 kB / 0.7404 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.3434, allocations: 3.938 kB / 0.7404 GB, free: 2.555 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0008398/0.3442, allocations: 412.2 kB / 0.7408 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.3443, allocations: 85.09 kB / 0.7409 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.926e-05/0.3444, allocations: 136.2 kB / 0.741 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.3444, allocations: 25.7 kB / 0.7411 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.811e-05/0.3445, allocations: 108 kB / 0.7412 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.3446, allocations: 31.61 kB / 0.7412 GB, free: 1.711 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/0.3446, allocations: 0 / 0.7412 GB, free: 1.711 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.3447, allocations: 329 kB / 0.7415 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.3449, allocations: 83.94 kB / 0.7416 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.3452, allocations: 87.94 kB / 0.7417 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.3454, allocations: 143.3 kB / 0.7418 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3454, allocations: 0 / 0.7418 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005705/0.346, allocations: 303.3 kB / 0.7421 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.357e-05/0.3461, allocations: 71.39 kB / 0.7422 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3461, allocations: 3.938 kB / 0.7422 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.3461, allocations: 4 kB / 0.7422 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.3463, allocations: 27.91 kB / 0.7422 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.3463, allocations: 4 kB / 0.7422 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.3465, allocations: 39.8 kB / 0.7422 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.3465, allocations: 8 kB / 0.7422 GB, free: 0.582 MB / 0.5105 GB 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 () * Number of clocked 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.0001264/0.3467, allocations: 163.5 kB / 0.7424 GB, free: 416 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.3467, allocations: 11.86 kB / 0.7424 GB, free: 404 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.3468, allocations: 16.7 kB / 0.7424 GB, free: 388 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3468, allocations: 4 kB / 0.7424 GB, free: 384 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3468, allocations: 0 / 0.7424 GB, free: 384 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3468, allocations: 0 / 0.7424 GB, free: 384 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.3469, allocations: 201.6 kB / 0.7426 GB, free: 132 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.347, allocations: 480 / 0.7426 GB, free: 132 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.3471, allocations: 23.98 kB / 0.7426 GB, free: 108 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3471, allocations: 3.953 kB / 0.7426 GB, free: 104 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.3471, allocations: 7.984 kB / 0.7427 GB, free: 96 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3471, allocations: 3.938 kB / 0.7427 GB, free: 92 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3471, allocations: 3.938 kB / 0.7427 GB, free: 88 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3876/0.7347, allocations: 300 kB / 0.7429 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.7348, allocations: 88.36 kB / 0.743 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.7348, allocations: 4.984 kB / 0.743 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.735, allocations: 36.73 kB / 0.7431 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.7352, allocations: 22.55 kB / 0.7431 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.7352, allocations: 4.391 kB / 0.7431 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.743e-05/0.7353, allocations: 112.8 kB / 0.7432 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7353, allocations: 3.312 kB / 0.7432 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003057/0.7356, allocations: 29.55 kB / 0.7432 GB, free: 109.3 MB / 0.5105 GB 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: 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.0001346/0.7358, allocations: 104 kB / 0.7433 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006575/0.7365, allocations: 358.9 kB / 0.7437 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.7365, allocations: 6.531 kB / 0.7437 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003368/0.7368, allocations: 198.4 kB / 0.7439 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.737, allocations: 9.312 kB / 0.7439 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006145/0.7376, allocations: 324.6 kB / 0.7442 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.7378, allocations: 0.7021 MB / 0.7449 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.63e-05/0.7379, allocations: 15.98 kB / 0.7449 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.7379, allocations: 16.95 kB / 0.7449 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of SimCode: time 3.31e-07/0.7379, allocations: 0 / 0.7449 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.003865/0.7418, allocations: 1.477 MB / 0.7464 GB, free: 108.1 MB / 0.5105 GB 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)