Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.363/1.363, allocations: 252 MB / 267.6 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001606/0.001606, allocations: 188 kB / 327.3 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.144/2.144, allocations: 205.4 MB / 0.5783 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009251/0.0009249, allocations: 102.6 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003312, allocations: 9.656 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2516, allocations: 106.3 MB / 0.9008 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001687/0.2533, allocations: 1.25 MB / 0.902 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000908/0.2542, allocations: 0.6008 MB / 0.9026 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.442e-05/0.2543, allocations: 0 / 0.9026 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.2544, allocations: 7.938 kB / 0.9026 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.764e-05/0.2545, allocations: 19.84 kB / 0.9027 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.2549, allocations: 71.86 kB / 0.9027 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.255, allocations: 75.7 kB / 0.9028 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.2551, allocations: 16.22 kB / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.2552, allocations: 43.83 kB / 0.9028 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.388e-05/0.2553, allocations: 39.83 kB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.2553, allocations: 8 kB / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.679e-05/0.2554, allocations: 51.84 kB / 0.9029 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.712e-05/0.2555, allocations: 11.98 kB / 0.903 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.851e-05/0.2555, allocations: 37.64 kB / 0.903 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.2557, allocations: 95.81 kB / 0.9031 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.2557, allocations: 0 / 0.9031 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2557, allocations: 0 / 0.9031 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.2557, allocations: 0 / 0.9031 GB, free: 61.59 MB / 0.6042 GB 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.0007423/0.2564, allocations: 456.9 kB / 0.9035 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.2565, allocations: 12.03 kB / 0.9035 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.2565, allocations: 11.81 kB / 0.9035 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.2567, allocations: 186.9 kB / 0.9037 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.2567, allocations: 7.984 kB / 0.9037 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.2568, allocations: 8 kB / 0.9037 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.2571, allocations: 109.6 kB / 0.9038 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2571, allocations: 0 / 0.9038 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.2571, allocations: 4 kB / 0.9038 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.2571, allocations: 7.984 kB / 0.9039 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.2574, allocations: 111.8 kB / 0.904 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006132/0.2581, allocations: 364.6 kB / 0.9043 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.2584, allocations: 102.5 kB / 0.9044 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.2585, allocations: 68.88 kB / 0.9045 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.2586, allocations: 7.938 kB / 0.9045 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003108/0.2589, allocations: 123.3 kB / 0.9046 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.2589, allocations: 0 / 0.9046 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0006257/0.2595, allocations: 241.4 kB / 0.9048 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.2596, allocations: 51.41 kB / 0.9049 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.587e-05/0.2597, allocations: 136.2 kB / 0.905 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.2597, allocations: 29.98 kB / 0.905 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.2597, allocations: 100 kB / 0.9051 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.2598, allocations: 31.62 kB / 0.9052 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.2598, allocations: 7.938 kB / 0.9052 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.793e-05/0.2599, allocations: 326.8 kB / 0.9055 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.26, allocations: 72 kB / 0.9055 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.2602, allocations: 71.94 kB / 0.9056 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.2604, allocations: 93.66 kB / 0.9057 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2604, allocations: 0 / 0.9057 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004191/0.2608, allocations: 215.1 kB / 0.9059 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.2609, allocations: 37.69 kB / 0.9059 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2609, allocations: 0 / 0.9059 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.2609, allocations: 0 / 0.9059 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.2611, allocations: 23.98 kB / 0.906 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.2611, allocations: 0 / 0.906 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.2612, allocations: 27.97 kB / 0.906 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.2613, allocations: 4 kB / 0.906 GB, free: 58.36 MB / 0.6042 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: 1 * Algorithm blocks: 1 * 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 8.354e-05/0.2613, allocations: 121.8 kB / 0.9061 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.2614, allocations: 11.86 kB / 0.9061 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.2614, allocations: 16.7 kB / 0.9061 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.2614, allocations: 4 kB / 0.9061 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.2614, allocations: 4 kB / 0.9061 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2614, allocations: 3.938 kB / 0.9062 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.2616, allocations: 205.5 kB / 0.9063 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2616, allocations: 0 / 0.9063 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.2617, allocations: 23.98 kB / 0.9064 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.2617, allocations: 0 / 0.9064 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.2617, allocations: 7.938 kB / 0.9064 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2617, allocations: 80 / 0.9064 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2618, allocations: 3.984 kB / 0.9064 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003925/0.2621, allocations: 208.9 kB / 0.9066 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.752e-05/0.2622, allocations: 85 kB / 0.9067 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.2622, allocations: 4 kB / 0.9067 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.2623, allocations: 24.12 kB / 0.9067 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/0.2624, allocations: 15.97 kB / 0.9067 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.2624, allocations: 7.938 kB / 0.9067 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.249e-05/0.2625, allocations: 109.3 kB / 0.9068 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2625, allocations: 0 / 0.9068 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002379/0.2627, allocations: 32 kB / 0.9068 GB, free: 57.39 MB / 0.6042 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: 1 * Algorithm blocks: 0 * 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.0001657/0.2629, allocations: 111.2 kB / 0.907 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004417/0.2634, allocations: 207.2 kB / 0.9072 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2634, allocations: 0 / 0.9072 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.2636, allocations: 71.95 kB / 0.9072 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.2638, allocations: 11.97 kB / 0.9072 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005152/0.2643, allocations: 285.9 kB / 0.9075 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.2645, allocations: 0.7083 MB / 0.9082 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.2645, allocations: 15.38 kB / 0.9082 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of SimCode: time 3.7e-07/0.2645, allocations: 4 kB / 0.9082 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of Templates: time 0.002813/0.2674, allocations: 1.499 MB / 0.9097 GB, free: 54.42 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)