Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.666/1.666, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.001128/0.001128, allocations: 177.4 kB / 371.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.893/1.893, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.0008322/0.0008323, allocations: 88.41 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.165e-05/4.167e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.237, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7752/1.012, allocations: 138.4 MB / 1.115 GB, free: 45.07 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/1.013, allocations: 70.94 kB / 1.115 GB, free: 45.04 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.001544/1.014, allocations: 0.6265 MB / 1.116 GB, free: 44.56 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.204e-06/1.014, allocations: 0 / 1.116 GB, free: 44.56 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.564e-06/1.014, allocations: 0.6875 kB / 1.116 GB, free: 44.56 MB / 0.7448 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.0002704/1.014, allocations: 336.4 kB / 1.116 GB, free: 44.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/1.014, allocations: 8.656 kB / 1.116 GB, free: 44.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/1.015, allocations: 7.75 kB / 1.116 GB, free: 44.19 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/1.015, allocations: 169.4 kB / 1.116 GB, free: 43.99 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/1.015, allocations: 9.156 kB / 1.116 GB, free: 43.99 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/1.015, allocations: 8.453 kB / 1.116 GB, free: 43.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/1.015, allocations: 41.61 kB / 1.116 GB, free: 43.95 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/1.015, allocations: 0 / 1.116 GB, free: 43.95 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/1.015, allocations: 6.328 kB / 1.116 GB, free: 43.94 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/1.015, allocations: 0 / 1.116 GB, free: 43.94 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.976e-05/1.015, allocations: 15.45 kB / 1.116 GB, free: 43.93 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/1.015, allocations: 280 kB / 1.116 GB, free: 43.64 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.348e-05/1.015, allocations: 22.2 kB / 1.117 GB, free: 43.61 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/1.015, allocations: 11.98 kB / 1.117 GB, free: 43.6 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/1.015, allocations: 3.156 kB / 1.117 GB, free: 43.6 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.342e-05/1.015, allocations: 30.56 kB / 1.117 GB, free: 43.56 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/1.015, allocations: 0 / 1.117 GB, free: 43.56 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001348/1.016, allocations: 46.11 kB / 1.117 GB, free: 43.52 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/1.016, allocations: 51.41 kB / 1.117 GB, free: 43.45 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.678e-05/1.016, allocations: 101.3 kB / 1.117 GB, free: 43.36 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/1.016, allocations: 29.73 kB / 1.117 GB, free: 43.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.92e-05/1.016, allocations: 84.02 kB / 1.117 GB, free: 43.24 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.251e-05/1.016, allocations: 0 / 1.117 GB, free: 43.24 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/1.016, allocations: 0 / 1.117 GB, free: 43.24 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.955e-05/1.016, allocations: 322.3 kB / 1.117 GB, free: 42.92 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.458e-05/1.016, allocations: 0 / 1.117 GB, free: 42.92 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.155e-05/1.016, allocations: 8.844 kB / 1.117 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.477e-05/1.016, allocations: 0 / 1.117 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.016, allocations: 8.062 kB / 1.117 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.162e-05/1.016, allocations: 40.73 kB / 1.117 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/1.016, allocations: 4 kB / 1.117 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.016, allocations: 0 / 1.117 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/1.016, allocations: 0 / 1.117 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.149e-05/1.016, allocations: 16.53 kB / 1.117 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/1.016, allocations: 1.438 kB / 1.117 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.596e-05/1.016, allocations: 7.234 kB / 1.117 GB, free: 42.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/1.016, allocations: 8.031 kB / 1.117 GB, free: 42.84 MB / 0.7448 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 () * 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 3.809e-05/1.016, allocations: 105.5 kB / 1.117 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/1.016, allocations: 0 / 1.117 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/1.016, allocations: 10.25 kB / 1.117 GB, free: 42.72 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/1.016, allocations: 7.281 kB / 1.117 GB, free: 42.72 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.016, allocations: 0 / 1.117 GB, free: 42.72 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/1.016, allocations: 0 / 1.117 GB, free: 42.72 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/1.016, allocations: 160.5 kB / 1.118 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.016, allocations: 0 / 1.118 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.189e-05/1.016, allocations: 15.33 kB / 1.118 GB, free: 42.51 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/1.016, allocations: 0 / 1.118 GB, free: 42.51 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/1.016, allocations: 0.9375 kB / 1.118 GB, free: 42.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/1.016, allocations: 0 / 1.118 GB, free: 42.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.016, allocations: 4.938 kB / 1.118 GB, free: 42.51 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.688e-05/1.017, allocations: 135.5 kB / 1.118 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.258e-05/1.017, allocations: 80.62 kB / 1.118 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/1.017, allocations: 4.031 kB / 1.118 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.857e-05/1.017, allocations: 11.81 kB / 1.118 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/1.017, allocations: 3.188 kB / 1.118 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/1.017, allocations: 0 / 1.118 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.295e-05/1.017, allocations: 80.03 kB / 1.118 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.017, allocations: 0 / 1.118 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001909/1.017, allocations: 7.906 kB / 1.118 GB, free: 42.17 MB / 0.7448 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 () * 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 9.687e-05/1.017, allocations: 108.2 kB / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.39e-05/1.017, allocations: 11.38 kB / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/1.017, allocations: 0 / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.94e-05/1.017, allocations: 7.938 kB / 1.118 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/1.017, allocations: 3.953 kB / 1.118 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002002/1.018, allocations: 74.2 kB / 1.118 GB, free: 41.97 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/1.018, allocations: 0.684 MB / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.443e-05/1.018, allocations: 5.406 kB / 1.119 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/1.018, allocations: 11.44 kB / 1.119 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/1.018, allocations: 0 / 1.119 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of Templates: time 0.002088/1.02, allocations: 349.2 kB / 1.119 GB, free: 41.07 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)