Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.736/1.736, allocations: 293 MB / 309 MB, free: 4.832 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.001044/0.001044, allocations: 176.5 kB / 378.7 MB, free: 1.035 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.75/1.75, allocations: 205.4 MB / 0.6383 GB, free: 8.211 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.0008035/0.0008035, allocations: 89.2 kB / 0.7527 GB, free: 62.96 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003801, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2656, allocations: 116.4 MB / 0.9905 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7792/1.045, allocations: 138.6 MB / 1.126 GB, free: 35.11 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/1.045, allocations: 70.45 kB / 1.126 GB, free: 35.05 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00236/1.047, allocations: 0.9173 MB / 1.127 GB, free: 34.35 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.995e-06/1.047, allocations: 4 kB / 1.127 GB, free: 34.35 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.127e-05/1.047, allocations: 1.859 kB / 1.127 GB, free: 34.35 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003916/1.048, allocations: 385.9 kB / 1.127 GB, free: 33.94 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/1.048, allocations: 8.031 kB / 1.127 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/1.048, allocations: 8.844 kB / 1.127 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/1.048, allocations: 191.5 kB / 1.127 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/1.048, allocations: 6.234 kB / 1.127 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/1.048, allocations: 7.609 kB / 1.127 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/1.048, allocations: 147.7 kB / 1.128 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/1.048, allocations: 4.188 kB / 1.128 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/1.048, allocations: 3.938 kB / 1.128 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/1.048, allocations: 0 / 1.128 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003166/1.049, allocations: 154.9 kB / 1.128 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/1.049, allocations: 396.7 kB / 1.128 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/1.049, allocations: 98.38 kB / 1.128 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/1.05, allocations: 74.73 kB / 1.128 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/1.05, allocations: 4 kB / 1.128 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/1.05, allocations: 35.48 kB / 1.128 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/1.05, allocations: 0 / 1.128 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0005563/1.05, allocations: 229.6 kB / 1.128 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/1.05, allocations: 77.11 kB / 1.129 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.701e-05/1.05, allocations: 122.2 kB / 1.129 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.926e-06/1.05, allocations: 25.7 kB / 1.129 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/1.05, allocations: 95.98 kB / 1.129 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/1.05, allocations: 7.375 kB / 1.129 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/1.05, allocations: 0 / 1.129 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.881e-05/1.05, allocations: 318.8 kB / 1.129 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/1.051, allocations: 65.31 kB / 1.129 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/1.051, allocations: 79.34 kB / 1.129 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/1.051, allocations: 127.8 kB / 1.129 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.051, allocations: 0 / 1.129 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003132/1.051, allocations: 160 kB / 1.129 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/1.051, allocations: 4 kB / 1.129 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/1.051, allocations: 0.9375 kB / 1.129 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/1.051, allocations: 0 / 1.129 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/1.052, allocations: 38.27 kB / 1.13 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/1.052, allocations: 0 / 1.13 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.538e-05/1.052, allocations: 27.61 kB / 1.13 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/1.052, allocations: 0 / 1.13 GB, free: 31.61 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 6.054e-05/1.052, allocations: 125.8 kB / 1.13 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/1.052, allocations: 4 kB / 1.13 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/1.052, allocations: 11 kB / 1.13 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/1.052, allocations: 0 / 1.13 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.052, allocations: 1.5 kB / 1.13 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/1.052, allocations: 8.5 kB / 1.13 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/1.052, allocations: 180.2 kB / 1.13 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.052, allocations: 4 kB / 1.13 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/1.052, allocations: 27.41 kB / 1.13 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/1.052, allocations: 0 / 1.13 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/1.052, allocations: 0 / 1.13 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/1.052, allocations: 3.375 kB / 1.13 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.052, allocations: 5.281 kB / 1.13 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/1.053, allocations: 325.6 kB / 1.13 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.074e-05/1.053, allocations: 81.81 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/1.053, allocations: 3.641 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/1.053, allocations: 31.17 kB / 1.13 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/1.053, allocations: 7.594 kB / 1.13 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/1.053, allocations: 4.5 kB / 1.13 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.351e-05/1.053, allocations: 91.83 kB / 1.13 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.053, allocations: 0 / 1.13 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002362/1.053, allocations: 16.88 kB / 1.13 GB, free: 30.68 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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.000119/1.053, allocations: 103.2 kB / 1.131 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003846/1.054, allocations: 135.1 kB / 1.131 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.054, allocations: 0 / 1.131 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/1.054, allocations: 76.77 kB / 1.131 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/1.054, allocations: 10.52 kB / 1.131 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003772/1.055, allocations: 177.3 kB / 1.131 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/1.055, allocations: 0.7003 MB / 1.132 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.236e-05/1.055, allocations: 11.47 kB / 1.132 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/1.055, allocations: 11.44 kB / 1.132 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/1.055, allocations: 3.938 kB / 1.132 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.002491/1.057, allocations: 0.6222 MB / 1.132 GB, free: 29.16 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1)