Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.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.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator",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.251/2.251, allocations: 248.5 MB / 261 MB, free: 6.02 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.00152/0.001519, allocations: 178.6 kB / 320.4 MB, free: 15.32 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.97/1.97, allocations: 205.2 MB / 0.571 GB, free: 11.73 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.001249/0.001249, allocations: 105.9 kB / 0.6754 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.889e-05/3.892e-05, allocations: 8 kB / 0.7869 GB, free: 97.76 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2321, allocations: 106.3 MB / 0.8907 GB, free: 7.414 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9004/1.133, allocations: 131.3 MB / 1.019 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/1.133, allocations: 74.83 kB / 1.019 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00328/1.136, allocations: 0.8365 MB / 1.02 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.302e-06/1.136, allocations: 0 / 1.02 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.476e-06/1.136, allocations: 0 / 1.02 GB, free: 3.102 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004679/1.137, allocations: 349.1 kB / 1.02 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/1.137, allocations: 12.03 kB / 1.02 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.404e-05/1.137, allocations: 38.44 kB / 1.02 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/1.137, allocations: 0 / 1.02 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/1.137, allocations: 189.7 kB / 1.02 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/1.137, allocations: 0 / 1.02 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/1.137, allocations: 0 / 1.02 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/1.137, allocations: 54.36 kB / 1.02 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/1.137, allocations: 4 kB / 1.02 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/1.137, allocations: 4 kB / 1.02 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/1.137, allocations: 0 / 1.02 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.875e-05/1.138, allocations: 20.81 kB / 1.02 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/1.138, allocations: 274.5 kB / 1.021 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.348e-05/1.138, allocations: 29.81 kB / 1.021 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.169e-05/1.138, allocations: 16.61 kB / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/1.138, allocations: 0 / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/1.138, allocations: 37.3 kB / 1.021 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/1.138, allocations: 0 / 1.021 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001903/1.138, allocations: 56.42 kB / 1.021 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/1.138, allocations: 51.41 kB / 1.021 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.184e-05/1.139, allocations: 96.62 kB / 1.021 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/1.139, allocations: 29.73 kB / 1.021 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/1.139, allocations: 88.08 kB / 1.021 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/1.139, allocations: 7.844 kB / 1.021 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/1.139, allocations: 0 / 1.021 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001154/1.139, allocations: 314.8 kB / 1.021 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.229e-05/1.139, allocations: 7.625 kB / 1.021 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.706e-05/1.139, allocations: 4 kB / 1.021 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.365e-05/1.139, allocations: 7.812 kB / 1.021 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.139, allocations: 4.062 kB / 1.021 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001195/1.139, allocations: 49.06 kB / 1.022 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/1.139, allocations: 8 kB / 1.022 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/1.139, allocations: 0 / 1.022 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/1.139, allocations: 3.938 kB / 1.022 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/1.139, allocations: 15.94 kB / 1.022 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/1.139, allocations: 0 / 1.022 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/1.139, allocations: 15.89 kB / 1.022 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/1.139, allocations: 4.031 kB / 1.022 GB, free: 1.203 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 8.227e-05/1.14, allocations: 104.7 kB / 1.022 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/1.14, allocations: 4 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/1.14, allocations: 7.078 kB / 1.022 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.14, allocations: 0 / 1.022 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.14, allocations: 3.953 kB / 1.022 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/1.14, allocations: 0 / 1.022 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/1.14, allocations: 165 kB / 1.022 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.14, allocations: 0 / 1.022 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/1.14, allocations: 20.86 kB / 1.022 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/1.14, allocations: 0 / 1.022 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/1.14, allocations: 0 / 1.022 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.14, allocations: 3.938 kB / 1.022 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.14, allocations: 0 / 1.022 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/1.14, allocations: 150.7 kB / 1.022 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/1.14, allocations: 85.14 kB / 1.022 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/1.14, allocations: 5.047 kB / 1.022 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/1.14, allocations: 4 kB / 1.022 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/1.141, allocations: 11.73 kB / 1.022 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/1.141, allocations: 0 / 1.022 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.948e-05/1.141, allocations: 79.53 kB / 1.022 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/1.141, allocations: 0 / 1.022 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002852/1.141, allocations: 23.8 kB / 1.022 GB, free: 492 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005364/1.141, allocations: 0.6843 MB / 1.023 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001148/1.142, allocations: 15.94 kB / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.142, allocations: 0 / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.134e-05/1.142, allocations: 11.38 kB / 1.023 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/1.142, allocations: 4.812 kB / 1.023 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004547/1.142, allocations: 102.9 kB / 1.023 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/1.143, allocations: 0.6925 MB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.376e-05/1.143, allocations: 4 kB / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.479e-05/1.143, allocations: 11.25 kB / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of SimCode: time 7.61e-07/1.143, allocations: 0 / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/1.161, allocations: 1.228 MB / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003393/1.162, allocations: 163.3 kB / 1.025 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.418/3.58, allocations: 4.062 kB / 1.025 GB, free: 13.59 MB / 0.6511 GB