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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009934/0.0009936, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 178.8 kB / 16.59 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 223.3 MB / 240.6 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7587/0.7587, allocations: 115.5 MB / 407.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005643/0.0005644, allocations: 8 kB / 495.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2376, allocations: 77.52 MB / 0.5593 GB, free: 9.379 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.00218/0.2399, allocations: 1.232 MB / 0.5605 GB, free: 8.137 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.2411, allocations: 0.5459 MB / 0.561 GB, free: 7.586 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.174e-05/0.2412, allocations: 3.938 kB / 0.5611 GB, free: 7.582 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.2413, allocations: 3.938 kB / 0.5611 GB, free: 7.578 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.45e-05/0.2414, allocations: 19.84 kB / 0.5611 GB, free: 7.559 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.2418, allocations: 63.86 kB / 0.5611 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.242, allocations: 87.7 kB / 0.5612 GB, free: 7.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.2421, allocations: 16.2 kB / 0.5612 GB, free: 7.391 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.2423, allocations: 39.84 kB / 0.5613 GB, free: 7.352 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.701e-05/0.2424, allocations: 39.83 kB / 0.5613 GB, free: 7.312 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.2424, allocations: 4 kB / 0.5613 GB, free: 7.309 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.2425, allocations: 51.95 kB / 0.5614 GB, free: 7.258 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.452e-05/0.2426, allocations: 23.92 kB / 0.5614 GB, free: 7.234 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.134e-05/0.2427, allocations: 37.64 kB / 0.5614 GB, free: 7.191 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.2428, allocations: 96.05 kB / 0.5615 GB, free: 7.098 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2428, allocations: 0 / 0.5615 GB, free: 7.098 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2429, allocations: 0 / 0.5615 GB, free: 7.098 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.2429, allocations: 0 / 0.5615 GB, free: 7.098 MB / 430.1 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.0008599/0.2437, allocations: 444.6 kB / 0.5619 GB, free: 6.609 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.2438, allocations: 12.03 kB / 0.5619 GB, free: 6.598 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.371e-05/0.2439, allocations: 7.906 kB / 0.562 GB, free: 6.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.2441, allocations: 196.9 kB / 0.5621 GB, free: 6.359 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.2441, allocations: 8 kB / 0.5622 GB, free: 6.352 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.2442, allocations: 4 kB / 0.5622 GB, free: 6.348 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004076/0.2446, allocations: 121.5 kB / 0.5623 GB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.2446, allocations: 0 / 0.5623 GB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.2446, allocations: 0 / 0.5623 GB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.2447, allocations: 4 kB / 0.5623 GB, free: 6.219 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000475/0.2451, allocations: 107.9 kB / 0.5624 GB, free: 6.113 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007867/0.2459, allocations: 356.6 kB / 0.5627 GB, free: 5.715 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.2462, allocations: 114.5 kB / 0.5628 GB, free: 5.594 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.2464, allocations: 64.88 kB / 0.5629 GB, free: 5.527 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.2464, allocations: 0 / 0.5629 GB, free: 5.527 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003256/0.2468, allocations: 131.3 kB / 0.563 GB, free: 5.387 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.2468, allocations: 0 / 0.563 GB, free: 5.387 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006299/0.2474, allocations: 233.4 kB / 0.5632 GB, free: 5.152 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.2475, allocations: 55.41 kB / 0.5633 GB, free: 5.086 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.2476, allocations: 143.7 kB / 0.5634 GB, free: 4.938 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.2476, allocations: 25.7 kB / 0.5635 GB, free: 4.906 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/0.2477, allocations: 96.05 kB / 0.5635 GB, free: 4.809 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.2477, allocations: 27.64 kB / 0.5636 GB, free: 4.781 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.098e-05/0.2478, allocations: 8 kB / 0.5636 GB, free: 4.773 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.2479, allocations: 322.8 kB / 0.5639 GB, free: 4.449 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.2481, allocations: 64.06 kB / 0.5639 GB, free: 4.387 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.2482, allocations: 71.89 kB / 0.564 GB, free: 4.316 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.2484, allocations: 97.66 kB / 0.5641 GB, free: 4.215 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2485, allocations: 0 / 0.5641 GB, free: 4.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004495/0.2489, allocations: 220.5 kB / 0.5643 GB, free: 3.988 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/0.249, allocations: 37.7 kB / 0.5644 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.249, allocations: 0 / 0.5644 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.249, allocations: 480 / 0.5644 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.2491, allocations: 27.97 kB / 0.5644 GB, free: 3.918 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.2492, allocations: 0 / 0.5644 GB, free: 3.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.2493, allocations: 27.83 kB / 0.5644 GB, free: 3.891 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.2493, allocations: 0 / 0.5644 GB, free: 3.891 MB / 430.1 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 () * 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 0.0001032/0.2494, allocations: 129.7 kB / 0.5645 GB, free: 3.754 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.2494, allocations: 7.906 kB / 0.5645 GB, free: 3.746 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.2495, allocations: 20.72 kB / 0.5646 GB, free: 3.727 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.2495, allocations: 7.984 kB / 0.5646 GB, free: 3.719 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2495, allocations: 0 / 0.5646 GB, free: 3.719 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.2495, allocations: 0 / 0.5646 GB, free: 3.719 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.2497, allocations: 197.5 kB / 0.5648 GB, free: 3.477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2497, allocations: 0 / 0.5648 GB, free: 3.477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.2498, allocations: 23.97 kB / 0.5648 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.2498, allocations: 8 kB / 0.5648 GB, free: 3.445 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.2499, allocations: 4 kB / 0.5648 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2499, allocations: 0 / 0.5648 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2499, allocations: 0 / 0.5648 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004219/0.2503, allocations: 204.8 kB / 0.565 GB, free: 3.223 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.2504, allocations: 88.92 kB / 0.5651 GB, free: 3.117 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.2504, allocations: 3.984 kB / 0.5651 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.2505, allocations: 23.97 kB / 0.5651 GB, free: 3.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.2506, allocations: 15.97 kB / 0.5651 GB, free: 3.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.2506, allocations: 8 kB / 0.5651 GB, free: 3.066 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.185e-05/0.2507, allocations: 99.27 kB / 0.5652 GB, free: 2.969 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2507, allocations: 4 kB / 0.5652 GB, free: 2.965 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.2509, allocations: 40 kB / 0.5653 GB, free: 2.926 MB / 430.1 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) * 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.000159/0.2511, allocations: 111.2 kB / 0.5654 GB, free: 2.809 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004602/0.2516, allocations: 203.2 kB / 0.5656 GB, free: 2.598 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2516, allocations: 0 / 0.5656 GB, free: 2.598 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.2518, allocations: 75.95 kB / 0.5656 GB, free: 2.523 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.252, allocations: 11.95 kB / 0.5656 GB, free: 2.512 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005227/0.2525, allocations: 263.2 kB / 0.5659 GB, free: 2.223 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.2528, allocations: 0.707 MB / 0.5666 GB, free: 1.492 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.579e-05/0.2529, allocations: 11.77 kB / 0.5666 GB, free: 1.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.898e-05/0.253, allocations: 23.36 kB / 0.5666 GB, free: 1.457 MB / 430.1 MB Notification: Performance of SimCode: time 2.2e-07/0.253, allocations: 0 / 0.5666 GB, free: 1.457 MB / 430.1 MB Notification: Performance of Templates: time 0.003834/0.2568, allocations: 1.239 MB / 0.5678 GB, free: 232 kB / 430.1 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)