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: "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 179.1 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.482/0.482, allocations: 90.81 MB / 104.5 MB, free: 9.789 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.301/1.301, allocations: 221.3 MB / 348.3 MB, free: 464 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009209/0.0009209, allocations: 94.25 kB / 421.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.05e-05/3.054e-05, allocations: 3.984 kB / 0.4897 GB, free: 5.289 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3489, allocations: 72.3 MB / 0.5603 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1826/0.5315, allocations: 103 MB / 0.6609 GB, free: 1.27 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.5318, allocations: 71.95 kB / 0.661 GB, free: 1.199 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01689/0.5487, allocations: 3.541 MB / 0.6645 GB, free: 13.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5487, allocations: 0 / 0.6645 GB, free: 13.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.5487, allocations: 0 / 0.6645 GB, free: 13.66 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009267/0.5497, allocations: 443.8 kB / 0.6649 GB, free: 13.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.5498, allocations: 15.98 kB / 0.6649 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.132e-05/0.5498, allocations: 38.52 kB / 0.6649 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.407e-05/0.5499, allocations: 11.91 kB / 0.665 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.5502, allocations: 194.8 kB / 0.6651 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.5502, allocations: 4 kB / 0.6651 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.5503, allocations: 4 kB / 0.6651 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.5506, allocations: 83.3 kB / 0.6652 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.5506, allocations: 3.953 kB / 0.6652 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.5506, allocations: 1.219 kB / 0.6652 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.5507, allocations: 3.938 kB / 0.6652 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.5509, allocations: 51.92 kB / 0.6653 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009468/0.5518, allocations: 368.6 kB / 0.6656 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.552, allocations: 54.56 kB / 0.6657 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.5522, allocations: 36.86 kB / 0.6657 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.5522, allocations: 0 / 0.6657 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.5525, allocations: 95.36 kB / 0.6658 GB, free: 12.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 2.525e-06/0.5525, allocations: 1.594 kB / 0.6658 GB, free: 12.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003842/0.5529, allocations: 105.5 kB / 0.6659 GB, free: 11.99 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.5529, allocations: 59.39 kB / 0.666 GB, free: 11.92 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.5531, allocations: 123.6 kB / 0.6661 GB, free: 11.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.5532, allocations: 33.7 kB / 0.6661 GB, free: 11.76 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.336e-05/0.5533, allocations: 99.98 kB / 0.6662 GB, free: 11.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.5533, allocations: 23.7 kB / 0.6662 GB, free: 11.63 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.5533, allocations: 0 / 0.6662 GB, free: 11.63 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.5535, allocations: 330.8 kB / 0.6666 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.5536, allocations: 28 kB / 0.6666 GB, free: 11.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.5538, allocations: 37.02 kB / 0.6666 GB, free: 11.24 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.5539, allocations: 57.69 kB / 0.6667 GB, free: 11.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.5539, allocations: 0 / 0.6667 GB, free: 11.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004267/0.5544, allocations: 160.9 kB / 0.6668 GB, free: 11.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.677e-05/0.5544, allocations: 33.7 kB / 0.6669 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.5545, allocations: 0 / 0.6669 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.5545, allocations: 0 / 0.6669 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.5547, allocations: 31.97 kB / 0.6669 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.5548, allocations: 3.047 kB / 0.6669 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.555, allocations: 23.83 kB / 0.6669 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.914e-05/0.5551, allocations: 5.312 kB / 0.6669 GB, free: 10.91 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: 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 0.0001237/0.5552, allocations: 116.9 kB / 0.667 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.5553, allocations: 11.91 kB / 0.667 GB, free: 10.78 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003992/0.5557, allocations: 126.3 kB / 0.6672 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.5557, allocations: 0 / 0.6672 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.5557, allocations: 0 / 0.6672 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.5557, allocations: 0 / 0.6672 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.556, allocations: 212.3 kB / 0.6674 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.556, allocations: 0 / 0.6674 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.5563, allocations: 27.91 kB / 0.6674 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.5563, allocations: 4 kB / 0.6674 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.5563, allocations: 3.984 kB / 0.6674 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.5563, allocations: 0 / 0.6674 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.5564, allocations: 0 / 0.6674 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.5567, allocations: 141.4 kB / 0.6675 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-05/0.5568, allocations: 88.95 kB / 0.6676 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.5569, allocations: 8 kB / 0.6676 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.5571, allocations: 23.92 kB / 0.6676 GB, free: 10.06 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.5572, allocations: 15.97 kB / 0.6677 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.5573, allocations: 4 kB / 0.6677 GB, free: 10.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001274/0.5574, allocations: 106.2 kB / 0.6678 GB, free: 9.941 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5574, allocations: 0 / 0.6678 GB, free: 9.941 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004668/0.5579, allocations: 39.94 kB / 0.6678 GB, free: 9.902 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: 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.0007973/0.5587, allocations: 0.6954 MB / 0.6685 GB, free: 9.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003739/0.5591, allocations: 165.1 kB / 0.6686 GB, free: 9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5591, allocations: 0 / 0.6686 GB, free: 9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.5593, allocations: 73.62 kB / 0.6687 GB, free: 8.922 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.5596, allocations: 11.98 kB / 0.6687 GB, free: 8.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008516/0.5605, allocations: 192.4 kB / 0.6689 GB, free: 8.688 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.5609, allocations: 0.7082 MB / 0.6696 GB, free: 7.953 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.561, allocations: 15.77 kB / 0.6696 GB, free: 7.938 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.799e-05/0.5612, allocations: 27.42 kB / 0.6696 GB, free: 7.91 MB / 490.7 MB Notification: Performance of SimCode: time 7.61e-07/0.5612, allocations: 0 / 0.6696 GB, free: 7.91 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.579, allocations: 2.455 MB / 0.672 GB, free: 5.613 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/0.5793, allocations: 143.2 kB / 0.6722 GB, free: 5.395 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/2.114, allocations: 0 / 0.6722 GB, free: 5.395 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)