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.172/2.172, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001487/0.001487, allocations: 173 kB / 325.5 MB, free: 2.91 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.384/2.384, allocations: 205.4 MB / 0.5764 GB, free: 20.81 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.001233/0.001233, allocations: 95.98 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004856/0.0004857, allocations: 12.53 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2627, allocations: 106.3 MB / 0.8988 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2255/0.4882, allocations: 131.4 MB / 1.027 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.4886, allocations: 75.95 kB / 1.027 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003435/0.492, allocations: 0.8367 MB / 1.028 GB, free: 13 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4921, allocations: 0 / 1.028 GB, free: 13 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.679e-06/0.4921, allocations: 4 kB / 1.028 GB, free: 13 MB / 0.6823 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.0005224/0.4926, allocations: 359.2 kB / 1.028 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.4927, allocations: 12.03 kB / 1.028 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.87e-05/0.4928, allocations: 30.56 kB / 1.028 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.4928, allocations: 7.906 kB / 1.028 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.493, allocations: 179 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.493, allocations: 4 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.4931, allocations: 0 / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.4934, allocations: 73.66 kB / 1.029 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.4934, allocations: 0 / 1.029 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.4934, allocations: 0 / 1.029 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.4934, allocations: 4 kB / 1.029 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003426/0.4938, allocations: 55.95 kB / 1.029 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.4943, allocations: 284.7 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.4945, allocations: 50.55 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.4946, allocations: 0 / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.4946, allocations: 30.56 kB / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.4946, allocations: 0 / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0006239/0.4952, allocations: 109.6 kB / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.4953, allocations: 55.34 kB / 1.029 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.959e-05/0.4954, allocations: 101 kB / 1.029 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.4954, allocations: 25.7 kB / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.505e-05/0.4955, allocations: 92.17 kB / 1.029 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.4955, allocations: 0 / 1.029 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.4956, allocations: 4 kB / 1.029 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4957, allocations: 322.8 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.4959, allocations: 19.98 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.496, allocations: 23.98 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.4962, allocations: 23.97 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4962, allocations: 0 / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003905/0.4966, allocations: 93.56 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.4967, allocations: 5.719 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-06/0.4967, allocations: 0 / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.4967, allocations: 0 / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.4969, allocations: 11.98 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.4969, allocations: 7.953 kB / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.497, allocations: 7.984 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.497, allocations: 4.031 kB / 1.03 GB, free: 10.82 MB / 0.6823 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 () * Number of clocked 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 0.000118/0.4972, allocations: 115.7 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.4972, allocations: 0 / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.4972, allocations: 11.11 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.4973, allocations: 0 / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.4973, allocations: 0 / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.4973, allocations: 7.891 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.4975, allocations: 165.7 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4975, allocations: 0 / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.4977, allocations: 15.98 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.4977, allocations: 0 / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.4977, allocations: 4 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4977, allocations: 0 / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4977, allocations: 0 / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004415/0.4982, allocations: 187.4 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.4982, allocations: 81.02 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.4983, allocations: 0 / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.4984, allocations: 12.23 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.4985, allocations: 0 / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.4985, allocations: 16.03 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.899e-05/0.4986, allocations: 83.27 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4986, allocations: 0 / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002911/0.4989, allocations: 7.938 kB / 1.031 GB, free: 10.04 MB / 0.6823 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 () * Number of clocked 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.0007808/0.4997, allocations: 0.7171 MB / 1.031 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003812/0.5001, allocations: 52 kB / 1.031 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5001, allocations: 0 / 1.031 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.5003, allocations: 31.97 kB / 1.031 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.5005, allocations: 3.938 kB / 1.031 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.5018, allocations: 454.4 kB / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.5021, allocations: 0.6809 MB / 1.033 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.875e-05/0.5022, allocations: 0 / 1.033 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/0.5023, allocations: 19.42 kB / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of SimCode: time 9.62e-07/0.5023, allocations: 0 / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.5213, allocations: 1.216 MB / 1.034 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002607/0.5216, allocations: 196.2 kB / 1.034 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/2.788, allocations: 0 / 1.034 GB, free: 6.695 MB / 0.6823 GB