Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.605/2.605, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001441/0.001441, allocations: 172.9 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001031/0.001031, allocations: 98.38 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.205e-05/2.215e-05, allocations: 4 kB / 0.8508 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8837/0.8838, allocations: 115.3 MB / 0.9634 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2365/1.12, allocations: 138.5 MB / 1.099 GB, free: 1.973 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/1.121, allocations: 77.36 kB / 1.099 GB, free: 1.898 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009735/1.13, allocations: 1.887 MB / 1.101 GB, free: 60 kB / 0.698 GB Notification: Performance of FrontEnd: time 2.284e-06/1.13, allocations: 0 / 1.101 GB, free: 60 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.769e-05/1.131, allocations: 0.625 kB / 1.101 GB, free: 60 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001006/1.132, allocations: 473.3 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/1.132, allocations: 12.03 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.299e-05/1.132, allocations: 18.75 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/1.132, allocations: 204.8 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/1.132, allocations: 0 / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/1.132, allocations: 4 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000234/1.132, allocations: 59.98 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/1.133, allocations: 93.64 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.589e-06/1.133, allocations: 0 / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/1.133, allocations: 3.469 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/1.133, allocations: 4 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008926/1.134, allocations: 341.2 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/1.134, allocations: 87.86 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/1.134, allocations: 72.91 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/1.134, allocations: 0 / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002832/1.134, allocations: 113.9 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.795e-06/1.134, allocations: 0 / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0004865/1.135, allocations: 164.7 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.744e-05/1.135, allocations: 93.09 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/1.135, allocations: 119.4 kB / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/1.135, allocations: 29.7 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.904e-05/1.135, allocations: 106.7 kB / 1.102 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/1.135, allocations: 23.7 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.706e-05/1.135, allocations: 0 / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001921/1.136, allocations: 326.8 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/1.136, allocations: 51.98 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/1.136, allocations: 55.97 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/1.136, allocations: 45.34 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.136, allocations: 0 / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004569/1.137, allocations: 165.6 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.128e-05/1.137, allocations: 71.39 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/1.137, allocations: 0 / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/1.137, allocations: 3.953 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/1.137, allocations: 27.92 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/1.137, allocations: 0 / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003381/1.137, allocations: 39.89 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.564e-05/1.137, allocations: 8 kB / 1.103 GB, free: 13.09 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: 2 * 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.0001927/1.138, allocations: 150.5 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004506/1.138, allocations: 165.5 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/1.138, allocations: 19.77 kB / 1.104 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.4e-05/1.138, allocations: 12.62 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/1.138, allocations: 3.938 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/1.138, allocations: 3.984 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/1.138, allocations: 4.656 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/1.138, allocations: 170.2 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/1.138, allocations: 0 / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/1.139, allocations: 23.97 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/1.139, allocations: 4 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/1.139, allocations: 0 / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/1.139, allocations: 6.953 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.139, allocations: 7.375 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004579/1.139, allocations: 192 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-05/1.139, allocations: 85.02 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/1.139, allocations: 4 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003287/1.14, allocations: 35.95 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/1.14, allocations: 27.92 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/1.14, allocations: 7.984 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.964e-05/1.14, allocations: 95.28 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.8e-07/1.14, allocations: 4 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003351/1.14, allocations: 31.92 kB / 1.104 GB, free: 11.97 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: 1 * 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.0008583/1.141, allocations: 0.7344 MB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005548/1.142, allocations: 282.7 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.142, allocations: 0 / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002942/1.142, allocations: 159.3 kB / 1.105 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/1.142, allocations: 19.39 kB / 1.105 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008748/1.143, allocations: 249.9 kB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/1.144, allocations: 0.7048 MB / 1.106 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001294/1.144, allocations: 12.78 kB / 1.106 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.998e-05/1.144, allocations: 27.44 kB / 1.106 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of SimCode: time 1.362e-06/1.144, allocations: 0 / 1.106 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04161/1.186, allocations: 2.299 MB / 1.109 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003054/1.186, allocations: 146.1 kB / 1.109 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/3.503, allocations: 0 / 1.109 GB, free: 7.238 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)