Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.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.RealReplicator,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator",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.129/2.129, allocations: 251 MB / 265.9 MB, free: 11.69 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.001534/0.001534, allocations: 179.5 kB / 325.5 MB, free: 2.926 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: 21.19 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: 101.4 kB / 0.6809 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000633/0.0006331, allocations: 12.44 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2343, allocations: 106.3 MB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2222/0.4566, allocations: 131.2 MB / 1.027 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.457, allocations: 71.95 kB / 1.027 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002397/0.4594, allocations: 0.6526 MB / 1.028 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4594, allocations: 0 / 1.028 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.4594, allocations: 0 / 1.028 GB, free: 13.88 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004918/0.4599, allocations: 343.2 kB / 1.028 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.46, allocations: 8.031 kB / 1.028 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.316e-05/0.4601, allocations: 38.56 kB / 1.028 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.4601, allocations: 11.89 kB / 1.028 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.4603, allocations: 174.9 kB / 1.028 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.4603, allocations: 0 / 1.028 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.4603, allocations: 8 kB / 1.028 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.4606, allocations: 57.66 kB / 1.028 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.4606, allocations: 0 / 1.028 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.4606, allocations: 4 kB / 1.028 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.4607, allocations: 7.984 kB / 1.028 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.461, allocations: 43.97 kB / 1.028 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.4615, allocations: 280.9 kB / 1.029 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.4617, allocations: 38.55 kB / 1.029 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.4617, allocations: 0 / 1.029 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.4618, allocations: 42.62 kB / 1.029 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.303e-06/0.4618, allocations: 0 / 1.029 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0005428/0.4624, allocations: 105.5 kB / 1.029 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.4624, allocations: 51.41 kB / 1.029 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.277e-05/0.4625, allocations: 97 kB / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.4625, allocations: 25.7 kB / 1.029 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.4626, allocations: 88.12 kB / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.4626, allocations: 0 / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.4626, allocations: 0 / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.4628, allocations: 314.8 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.4629, allocations: 24.02 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.4631, allocations: 15.98 kB / 1.029 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.4632, allocations: 23.97 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4632, allocations: 4.062 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003311/0.4636, allocations: 77.52 kB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.4636, allocations: 7.938 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4636, allocations: 0 / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.4636, allocations: 0 / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.4638, allocations: 16.02 kB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.4638, allocations: 3.953 kB / 1.029 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.41e-05/0.4639, allocations: 7.984 kB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.4639, allocations: 4 kB / 1.029 GB, free: 11.77 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.969e-05/0.464, allocations: 109.8 kB / 1.03 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.464, allocations: 4 kB / 1.03 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.4641, allocations: 7.125 kB / 1.03 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4641, allocations: 0 / 1.03 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-06/0.4641, allocations: 0 / 1.03 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.4641, allocations: 7.938 kB / 1.03 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.4643, allocations: 161.7 kB / 1.03 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4643, allocations: 0 / 1.03 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.069e-05/0.4644, allocations: 7.984 kB / 1.03 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4645, allocations: 4 kB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.4645, allocations: 0 / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4645, allocations: 0 / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4645, allocations: 4 kB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.4649, allocations: 175.4 kB / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.465, allocations: 77.11 kB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.465, allocations: 4.031 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.4651, allocations: 11.98 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.4652, allocations: 0 / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.4652, allocations: 0 / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.323e-05/0.4652, allocations: 87.53 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4653, allocations: 0 / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002703/0.4655, allocations: 11.84 kB / 1.03 GB, free: 11.02 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0006657/0.4662, allocations: 0.7056 MB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003333/0.4666, allocations: 47.94 kB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4666, allocations: 0 / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.4667, allocations: 28.05 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.467, allocations: 1.719 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.4681, allocations: 418.7 kB / 1.031 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.4684, allocations: 0.677 MB / 1.032 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.38e-05/0.4685, allocations: 7.984 kB / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.4686, allocations: 11.44 kB / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of SimCode: time 1.102e-06/0.4686, allocations: 4 kB / 1.032 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.4867, allocations: 1.01 MB / 1.033 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002614/0.4871, allocations: 204.5 kB / 1.033 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/2.823, allocations: 0 / 1.033 GB, free: 7.906 MB / 0.6823 GB