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.001148/0.001148, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5506/0.5506, allocations: 90.91 MB / 99.34 MB, free: 2.211 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 221.5 MB / 343.2 MB, free: 1.566 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008317/0.0008317, allocations: 104.6 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.449e-05/1.451e-05, allocations: 5.328 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1242, allocations: 72.3 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4304/0.5547, allocations: 102.4 MB / 0.6536 GB, free: 7.891 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.555, allocations: 72.52 kB / 0.6537 GB, free: 7.852 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009843/0.5648, allocations: 3.518 MB / 0.6571 GB, free: 4.816 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5649, allocations: 0 / 0.6571 GB, free: 4.816 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.5649, allocations: 4 kB / 0.6571 GB, free: 4.812 MB / 458.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.0006619/0.5655, allocations: 453.5 kB / 0.6575 GB, free: 4.328 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.5656, allocations: 8.031 kB / 0.6575 GB, free: 4.32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.5657, allocations: 15.86 kB / 0.6576 GB, free: 4.305 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.5659, allocations: 190.3 kB / 0.6577 GB, free: 4.086 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.5659, allocations: 4 kB / 0.6577 GB, free: 4.082 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.5659, allocations: 4 kB / 0.6577 GB, free: 4.078 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001103/0.566, allocations: 38.17 kB / 0.6578 GB, free: 4.055 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.5662, allocations: 75.36 kB / 0.6579 GB, free: 3.984 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.5662, allocations: 3.938 kB / 0.6579 GB, free: 3.98 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.5662, allocations: 0 / 0.6579 GB, free: 3.98 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.5662, allocations: 0 / 0.6579 GB, free: 3.98 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005618/0.5668, allocations: 345 kB / 0.6582 GB, free: 3.637 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.867e-05/0.5669, allocations: 59.75 kB / 0.6582 GB, free: 3.582 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.567, allocations: 34.81 kB / 0.6583 GB, free: 3.555 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.567, allocations: 4.062 kB / 0.6583 GB, free: 3.551 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000141/0.5671, allocations: 86.92 kB / 0.6584 GB, free: 3.465 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.5671, allocations: 0 / 0.6584 GB, free: 3.465 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002599/0.5674, allocations: 111.6 kB / 0.6585 GB, free: 3.367 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.5675, allocations: 51.41 kB / 0.6585 GB, free: 3.305 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.5676, allocations: 125.8 kB / 0.6586 GB, free: 3.184 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.5676, allocations: 29.7 kB / 0.6587 GB, free: 3.148 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.941e-05/0.5677, allocations: 107.6 kB / 0.6588 GB, free: 3.051 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.5677, allocations: 18.47 kB / 0.6588 GB, free: 3.035 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/0.5677, allocations: 0 / 0.6588 GB, free: 3.035 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5678, allocations: 320.9 kB / 0.6591 GB, free: 2.719 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.526e-05/0.5679, allocations: 33.67 kB / 0.6591 GB, free: 2.695 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.952e-05/0.568, allocations: 27.94 kB / 0.6591 GB, free: 2.68 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.357e-05/0.568, allocations: 41.73 kB / 0.6592 GB, free: 2.648 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5681, allocations: 4 kB / 0.6592 GB, free: 2.645 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000217/0.5683, allocations: 118.6 kB / 0.6593 GB, free: 2.543 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.5683, allocations: 37.88 kB / 0.6593 GB, free: 2.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.5683, allocations: 0 / 0.6593 GB, free: 2.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.5684, allocations: 3.938 kB / 0.6593 GB, free: 2.496 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.5685, allocations: 24.73 kB / 0.6594 GB, free: 2.473 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.5685, allocations: 0 / 0.6594 GB, free: 2.473 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.5687, allocations: 31.81 kB / 0.6594 GB, free: 2.441 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.5687, allocations: 6.812 kB / 0.6594 GB, free: 2.438 MB / 458.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 7.447e-05/0.5688, allocations: 110.6 kB / 0.6595 GB, free: 2.324 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001789/0.569, allocations: 105.6 kB / 0.6596 GB, free: 2.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.569, allocations: 11.91 kB / 0.6596 GB, free: 2.219 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.5692, allocations: 121.5 kB / 0.6597 GB, free: 2.117 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.5693, allocations: 0 / 0.6597 GB, free: 2.117 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5693, allocations: 4 kB / 0.6597 GB, free: 2.113 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.5693, allocations: 0 / 0.6597 GB, free: 2.113 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.5694, allocations: 188.6 kB / 0.6599 GB, free: 1.906 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5694, allocations: 0 / 0.6599 GB, free: 1.906 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.5696, allocations: 19.98 kB / 0.6599 GB, free: 1.887 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5696, allocations: 0 / 0.6599 GB, free: 1.887 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.5696, allocations: 0 / 0.6599 GB, free: 1.887 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5696, allocations: 0 / 0.6599 GB, free: 1.887 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.5696, allocations: 7.984 kB / 0.6599 GB, free: 1.879 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.5698, allocations: 133.3 kB / 0.6601 GB, free: 1.75 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.5699, allocations: 96.94 kB / 0.6602 GB, free: 1.637 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.5699, allocations: 0 / 0.6602 GB, free: 1.637 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.57, allocations: 19.98 kB / 0.6602 GB, free: 1.617 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.573e-05/0.5701, allocations: 19.16 kB / 0.6602 GB, free: 1.602 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.5701, allocations: 8 kB / 0.6602 GB, free: 1.594 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.551e-05/0.5702, allocations: 103.4 kB / 0.6603 GB, free: 1.504 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5702, allocations: 0 / 0.6603 GB, free: 1.504 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002411/0.5704, allocations: 43.94 kB / 0.6604 GB, free: 1.461 MB / 458.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.0005078/0.571, allocations: 0.6863 MB / 0.661 GB, free: 0.7656 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.5712, allocations: 170 kB / 0.6612 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5712, allocations: 0 / 0.6612 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.316e-05/0.5713, allocations: 67.5 kB / 0.6613 GB, free: 0.543 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.5715, allocations: 12.52 kB / 0.6613 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004666/0.5719, allocations: 186.1 kB / 0.6614 GB, free: 340 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.5722, allocations: 0.7041 MB / 0.6621 GB, free: 15.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 6.719e-05/0.5723, allocations: 19.77 kB / 0.6621 GB, free: 15.58 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.5724, allocations: 27.48 kB / 0.6622 GB, free: 15.57 MB / 474.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5724, allocations: 0 / 0.6622 GB, free: 15.57 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.5943, allocations: 2.099 MB / 0.6642 GB, free: 13.48 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/0.5946, allocations: 127.7 kB / 0.6643 GB, free: 13.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.499/2.093, allocations: 5.438 kB / 0.6644 GB, free: 13.29 MB / 474.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)