Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.728/1.728, allocations: 289.9 MB / 297.4 MB, free: 6.418 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001595/0.001595, allocations: 184.8 kB / 366.7 MB, free: 1.676 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.867/1.867, allocations: 205.3 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009488/0.0009492, allocations: 93.3 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.401e-05/2.394e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7146/0.7147, allocations: 116.3 MB / 0.9733 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2107/0.9255, allocations: 139.9 MB / 1.11 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.9258, allocations: 79.94 kB / 1.11 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01129/0.9371, allocations: 3.462 MB / 1.113 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9371, allocations: 0.875 kB / 1.113 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.9372, allocations: 4 kB / 1.113 GB, free: 6.734 MB / 0.7136 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.0006932/0.9379, allocations: 444.8 kB / 1.114 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.9379, allocations: 12.03 kB / 1.114 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.827e-05/0.938, allocations: 11.81 kB / 1.114 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.9382, allocations: 204.4 kB / 1.114 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.9383, allocations: 0 / 1.114 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.9383, allocations: 4 kB / 1.114 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001359/0.9385, allocations: 39.98 kB / 1.114 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.9386, allocations: 73.66 kB / 1.114 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.9386, allocations: 2.5 kB / 1.114 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.9387, allocations: 0 / 1.114 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.9387, allocations: 0 / 1.114 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006982/0.9394, allocations: 349.2 kB / 1.114 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.9395, allocations: 54.56 kB / 1.115 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.565e-05/0.9396, allocations: 28.92 kB / 1.115 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.971e-05/0.9397, allocations: 8.062 kB / 1.115 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.9398, allocations: 88.67 kB / 1.115 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.9398, allocations: 0 / 1.115 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003671/0.9402, allocations: 109.5 kB / 1.115 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.9403, allocations: 55.41 kB / 1.115 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.9404, allocations: 126.9 kB / 1.115 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.9404, allocations: 29.7 kB / 1.115 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/0.9405, allocations: 100.1 kB / 1.115 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.9406, allocations: 27.61 kB / 1.115 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.9406, allocations: 112 / 1.115 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.9407, allocations: 329.5 kB / 1.115 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.553e-05/0.9408, allocations: 28 kB / 1.115 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.207e-05/0.9409, allocations: 31.7 kB / 1.115 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.941, allocations: 39.92 kB / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.941, allocations: 0 / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002574/0.9412, allocations: 117.6 kB / 1.116 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/0.9413, allocations: 33.7 kB / 1.116 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.9413, allocations: 0 / 1.116 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.9413, allocations: 7.953 kB / 1.116 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.9415, allocations: 31.95 kB / 1.116 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.9415, allocations: 0 / 1.116 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.9417, allocations: 23.92 kB / 1.116 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.9417, allocations: 7.984 kB / 1.116 GB, free: 4.168 MB / 0.7136 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 () * 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 9.492e-05/0.9418, allocations: 108.9 kB / 1.116 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002105/0.942, allocations: 105.4 kB / 1.116 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.9421, allocations: 11.86 kB / 1.116 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.9424, allocations: 128.8 kB / 1.116 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.9424, allocations: 0 / 1.116 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.9424, allocations: 0 / 1.116 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.9424, allocations: 0 / 1.116 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.9426, allocations: 174.2 kB / 1.116 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.9426, allocations: 4 kB / 1.116 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.9427, allocations: 26.72 kB / 1.116 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.9427, allocations: 0 / 1.116 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.9428, allocations: 4 kB / 1.116 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.9428, allocations: 3.953 kB / 1.116 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.9428, allocations: 0 / 1.116 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.943, allocations: 136.9 kB / 1.116 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.9431, allocations: 88.92 kB / 1.116 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.9431, allocations: 4 kB / 1.116 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.9433, allocations: 19.97 kB / 1.116 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/0.9433, allocations: 11.94 kB / 1.116 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.9433, allocations: 7.984 kB / 1.116 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.812e-05/0.9434, allocations: 101.7 kB / 1.117 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9434, allocations: 8 kB / 1.117 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002799/0.9437, allocations: 43.92 kB / 1.117 GB, free: 3.109 MB / 0.7136 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) * 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.0006235/0.9443, allocations: 0.6917 MB / 1.117 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.9446, allocations: 165 kB / 1.117 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.9446, allocations: 0 / 1.117 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.9447, allocations: 69.69 kB / 1.118 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.9449, allocations: 9.922 kB / 1.118 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005491/0.9455, allocations: 185.8 kB / 1.118 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.9458, allocations: 0.7009 MB / 1.118 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.588e-05/0.9459, allocations: 15.77 kB / 1.118 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.9459, allocations: 31.42 kB / 1.118 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of SimCode: time 3.4e-07/0.946, allocations: 0 / 1.118 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.9672, allocations: 2.101 MB / 1.121 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.9675, allocations: 135.6 kB / 1.121 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.462/2.43, allocations: 4.984 kB / 1.121 GB, free: 14.89 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)