Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.221/2.221, allocations: 248.7 MB / 256.2 MB, free: 7.059 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.001437/0.001437, allocations: 185.2 kB / 315.4 MB, free: 4.035 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.163/2.163, allocations: 205.3 MB / 0.5662 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001147/0.001146, allocations: 108.7 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.976e-05/2.976e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1956, allocations: 106.3 MB / 0.8841 GB, free: 13.03 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.099/1.294, allocations: 133.1 MB / 1.014 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000401/1.295, allocations: 74.27 kB / 1.014 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01469/1.309, allocations: 1.892 MB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.595e-06/1.309, allocations: 0 / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.017e-05/1.309, allocations: 4 kB / 1.016 GB, free: 4.07 MB / 0.6355 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.001273/1.311, allocations: 472.7 kB / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.265e-05/1.311, allocations: 8.031 kB / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.5e-05/1.311, allocations: 27.41 kB / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004595/1.311, allocations: 189.5 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/1.312, allocations: 4 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.672e-05/1.312, allocations: 4 kB / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003438/1.312, allocations: 61.66 kB / 1.017 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003894/1.312, allocations: 98.08 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/1.312, allocations: 4 kB / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/1.312, allocations: 0 / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/1.312, allocations: 7.938 kB / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/1.314, allocations: 332.2 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/1.314, allocations: 96.17 kB / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/1.315, allocations: 70.53 kB / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/1.315, allocations: 0 / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000387/1.315, allocations: 112.4 kB / 1.017 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 4.278e-06/1.315, allocations: 0 / 1.017 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0007147/1.316, allocations: 152.1 kB / 1.018 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/1.316, allocations: 84.48 kB / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/1.316, allocations: 127.6 kB / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/1.316, allocations: 33.7 kB / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/1.316, allocations: 106.5 kB / 1.018 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.129e-05/1.316, allocations: 31.3 kB / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/1.316, allocations: 0 / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001834/1.317, allocations: 324.2 kB / 1.018 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/1.317, allocations: 56.3 kB / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/1.317, allocations: 53.67 kB / 1.018 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/1.317, allocations: 45.09 kB / 1.018 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.317, allocations: 4 kB / 1.018 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006935/1.318, allocations: 160.7 kB / 1.019 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000125/1.318, allocations: 74.59 kB / 1.019 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/1.318, allocations: 3.984 kB / 1.019 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/1.318, allocations: 0 / 1.019 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000417/1.319, allocations: 27.23 kB / 1.019 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/1.319, allocations: 0.625 kB / 1.019 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005592/1.319, allocations: 43.8 kB / 1.019 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/1.32, allocations: 4 kB / 1.019 GB, free: 1.375 MB / 0.6355 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.0002323/1.32, allocations: 146 kB / 1.019 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006462/1.32, allocations: 164.5 kB / 1.019 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/1.321, allocations: 15.86 kB / 1.019 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.627e-05/1.321, allocations: 10.19 kB / 1.019 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/1.321, allocations: 4 kB / 1.019 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/1.321, allocations: 0 / 1.019 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/1.321, allocations: 4 kB / 1.019 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/1.321, allocations: 176.8 kB / 1.019 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/1.321, allocations: 3.938 kB / 1.019 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/1.321, allocations: 19.98 kB / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/1.321, allocations: 0 / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.882e-05/1.322, allocations: 11.94 kB / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/1.322, allocations: 3.25 kB / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/1.322, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007459/1.322, allocations: 199.3 kB / 1.019 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.874e-05/1.322, allocations: 81.02 kB / 1.02 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.882e-05/1.323, allocations: 11.5 kB / 1.02 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004967/1.323, allocations: 35.91 kB / 1.02 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/1.323, allocations: 19.41 kB / 1.02 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/1.323, allocations: 8 kB / 1.02 GB, free: 492 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001461/1.324, allocations: 107.4 kB / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of sort global known variables: time 9.62e-07/1.324, allocations: 0 / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000523/1.324, allocations: 24 kB / 1.02 GB, free: 372 kB / 0.6355 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.001217/1.325, allocations: 0.7374 MB / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007953/1.326, allocations: 285 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.326, allocations: 4 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004115/1.327, allocations: 155.5 kB / 1.021 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/1.327, allocations: 19.34 kB / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/1.328, allocations: 253.3 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/1.329, allocations: 0.708 MB / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001686/1.329, allocations: 7.984 kB / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/1.329, allocations: 30.17 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of SimCode: time 1.002e-06/1.329, allocations: 0 / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04605/1.375, allocations: 2.302 MB / 1.024 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003848/1.376, allocations: 143.9 kB / 1.024 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.378/3.754, allocations: 0 / 1.024 GB, free: 11.75 MB / 0.6511 GB