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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.461/1.461, allocations: 249.3 MB / 261.8 MB, free: 5.883 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 172.9 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.2 MB / 0.572 GB, free: 10.72 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.0008254/0.0008253, allocations: 86.48 kB / 0.6764 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.041e-05/3.057e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2351, allocations: 106.3 MB / 0.8919 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7808/1.016, allocations: 133.3 MB / 1.022 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/1.016, allocations: 74.52 kB / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01071/1.027, allocations: 3.484 MB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.483e-06/1.027, allocations: 0 / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.126e-05/1.027, allocations: 3.938 kB / 1.025 GB, free: 14.41 MB / 0.6511 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.0006375/1.028, allocations: 454.7 kB / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/1.028, allocations: 8.031 kB / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.091e-05/1.028, allocations: 34.56 kB / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/1.028, allocations: 7.906 kB / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/1.028, allocations: 197.2 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/1.028, allocations: 0 / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/1.028, allocations: 7.125 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/1.028, allocations: 86.22 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/1.028, allocations: 0 / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/1.028, allocations: 3.688 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/1.028, allocations: 4 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/1.028, allocations: 45.25 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006509/1.029, allocations: 371.6 kB / 1.027 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/1.029, allocations: 56.31 kB / 1.027 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.356e-05/1.029, allocations: 30.8 kB / 1.027 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/1.029, allocations: 7.984 kB / 1.027 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/1.03, allocations: 93.27 kB / 1.027 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 3.075e-06/1.03, allocations: 3.984 kB / 1.027 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0002723/1.03, allocations: 106.3 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/1.03, allocations: 59.34 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/1.03, allocations: 128.6 kB / 1.027 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/1.03, allocations: 25.7 kB / 1.027 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.329e-05/1.03, allocations: 106.8 kB / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/1.03, allocations: 19.59 kB / 1.027 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/1.03, allocations: 0 / 1.027 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001124/1.03, allocations: 326.5 kB / 1.028 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.241e-05/1.03, allocations: 34.61 kB / 1.028 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-05/1.03, allocations: 35.06 kB / 1.028 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.53e-05/1.031, allocations: 59.61 kB / 1.028 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.031, allocations: 4 kB / 1.028 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002292/1.031, allocations: 154.5 kB / 1.028 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/1.031, allocations: 34.92 kB / 1.028 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/1.031, allocations: 4 kB / 1.028 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/1.031, allocations: 0 / 1.028 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/1.031, allocations: 27.97 kB / 1.028 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/1.031, allocations: 3.938 kB / 1.028 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/1.031, allocations: 23.92 kB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/1.031, allocations: 3.984 kB / 1.028 GB, free: 11.88 MB / 0.6511 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 7.011e-05/1.031, allocations: 108.1 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/1.031, allocations: 15.86 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/1.032, allocations: 126.5 kB / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/1.032, allocations: 0 / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/1.032, allocations: 0 / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/1.032, allocations: 4 kB / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/1.032, allocations: 203.3 kB / 1.028 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.032, allocations: 0 / 1.028 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/1.032, allocations: 23.98 kB / 1.028 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/1.032, allocations: 7.922 kB / 1.028 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/1.032, allocations: 3.953 kB / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/1.032, allocations: 4 kB / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.032, allocations: 0 / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/1.032, allocations: 139 kB / 1.029 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/1.032, allocations: 81.02 kB / 1.029 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/1.032, allocations: 4 kB / 1.029 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/1.032, allocations: 25.88 kB / 1.029 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/1.033, allocations: 14.91 kB / 1.029 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/1.033, allocations: 4 kB / 1.029 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.633e-05/1.033, allocations: 105.4 kB / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/1.033, allocations: 0 / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002555/1.033, allocations: 47.81 kB / 1.029 GB, free: 10.96 MB / 0.6511 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.0005735/1.033, allocations: 0.696 MB / 1.029 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002398/1.034, allocations: 167.5 kB / 1.03 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.034, allocations: 0 / 1.03 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/1.034, allocations: 68.06 kB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/1.034, allocations: 17.86 kB / 1.03 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000528/1.035, allocations: 189.3 kB / 1.03 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/1.035, allocations: 0.71 MB / 1.031 GB, free: 9.082 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.62e-05/1.035, allocations: 11.98 kB / 1.031 GB, free: 9.07 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.546e-05/1.035, allocations: 25.86 kB / 1.031 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of SimCode: time 5.61e-07/1.035, allocations: 0 / 1.031 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01294/1.048, allocations: 2.47 MB / 1.033 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/1.048, allocations: 161.3 kB / 1.033 GB, free: 6.484 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/2.628, allocations: 4.062 kB / 1.033 GB, free: 6.48 MB / 0.6511 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)