Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 98.3 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.757/1.757, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.774/1.774, allocations: 251.9 MB / 0.51 GB, free: 4.871 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005973/0.0005974, allocations: 15.44 kB / 0.6241 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6908/0.6914, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.001549/0.693, allocations: 1.053 MB / 0.729 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002914/0.6933, allocations: 100.6 kB / 0.7291 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.64e-05/0.6934, allocations: 4 kB / 0.7291 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.556e-05/0.6935, allocations: 0 / 0.7291 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.164e-05/0.6935, allocations: 8 kB / 0.7291 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001051/0.6936, allocations: 3.984 kB / 0.7291 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.567e-05/0.6937, allocations: 19.92 kB / 0.7291 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.464e-05/0.6938, allocations: 7.984 kB / 0.7291 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.483e-05/0.6939, allocations: 4 kB / 0.7291 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.343e-05/0.6939, allocations: 15.92 kB / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.6939, allocations: 0 / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.065e-06/0.6939, allocations: 0 / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.371e-05/0.694, allocations: 4 kB / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.694, allocations: 33.69 kB / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 5.707e-05/0.6941, allocations: 19.97 kB / 0.7292 GB, free: 10.12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.6941, allocations: 0 / 0.7292 GB, free: 10.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6941, allocations: 0 / 0.7292 GB, free: 10.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.6941, allocations: 0 / 0.7292 GB, free: 10.12 MB / 0.545 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.0004848/0.6946, allocations: 348 kB / 0.7295 GB, free: 9.738 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.391e-05/0.6947, allocations: 12.03 kB / 0.7296 GB, free: 9.727 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.6947, allocations: 7.891 kB / 0.7296 GB, free: 9.719 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.6949, allocations: 182.9 kB / 0.7297 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.6949, allocations: 0 / 0.7297 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.6949, allocations: 4 kB / 0.7297 GB, free: 9.496 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.6951, allocations: 57.67 kB / 0.7298 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.6952, allocations: 0 / 0.7298 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.6952, allocations: 4 kB / 0.7298 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.6952, allocations: 0 / 0.7298 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.6954, allocations: 47.95 kB / 0.7299 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.6958, allocations: 284.9 kB / 0.7301 GB, free: 9.055 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.6959, allocations: 38.55 kB / 0.7302 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.696, allocations: 0 / 0.7302 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.696, allocations: 34.62 kB / 0.7302 GB, free: 8.965 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.696, allocations: 0 / 0.7302 GB, free: 8.965 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0003487/0.6963, allocations: 97.48 kB / 0.7303 GB, free: 8.863 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.6964, allocations: 51.41 kB / 0.7303 GB, free: 8.801 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.749e-05/0.6965, allocations: 109.9 kB / 0.7304 GB, free: 8.684 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.6965, allocations: 25.7 kB / 0.7305 GB, free: 8.652 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/0.6966, allocations: 92.12 kB / 0.7306 GB, free: 8.559 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.6966, allocations: 7.844 kB / 0.7306 GB, free: 8.551 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-06/0.6966, allocations: 0 / 0.7306 GB, free: 8.551 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.6967, allocations: 310.8 kB / 0.7309 GB, free: 8.238 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.174e-05/0.6968, allocations: 23.98 kB / 0.7309 GB, free: 8.215 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.92e-05/0.6969, allocations: 19.98 kB / 0.7309 GB, free: 8.195 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.744e-05/0.697, allocations: 19.97 kB / 0.7309 GB, free: 8.176 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.697, allocations: 0 / 0.7309 GB, free: 8.176 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001804/0.6972, allocations: 77.92 kB / 0.731 GB, free: 8.094 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.6972, allocations: 4 kB / 0.731 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.6972, allocations: 0 / 0.731 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.6972, allocations: 3.984 kB / 0.731 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.476e-05/0.6973, allocations: 12 kB / 0.731 GB, free: 8.074 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.6973, allocations: 7.969 kB / 0.731 GB, free: 8.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.919e-05/0.6974, allocations: 15.94 kB / 0.731 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.6974, allocations: 0 / 0.731 GB, free: 8.051 MB / 0.545 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.255e-05/0.6975, allocations: 113.8 kB / 0.7311 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.6975, allocations: 0 / 0.7311 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.6975, allocations: 3.125 kB / 0.7311 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.6975, allocations: 0 / 0.7311 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.6975, allocations: 3.984 kB / 0.7311 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.6976, allocations: 4 kB / 0.7312 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.6977, allocations: 161.6 kB / 0.7313 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.6977, allocations: 0 / 0.7313 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.989e-05/0.6978, allocations: 11.98 kB / 0.7313 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.6978, allocations: 0 / 0.7313 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.6978, allocations: 0 / 0.7313 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.6978, allocations: 0 / 0.7313 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.6978, allocations: 0 / 0.7313 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.698, allocations: 179.4 kB / 0.7315 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.6981, allocations: 81.02 kB / 0.7316 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.6981, allocations: 0 / 0.7316 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-05/0.6982, allocations: 16.02 kB / 0.7316 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.6982, allocations: 0 / 0.7316 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-06/0.6982, allocations: 0 / 0.7316 GB, free: 7.395 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.418e-05/0.6983, allocations: 83.28 kB / 0.7317 GB, free: 7.312 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6983, allocations: 0 / 0.7317 GB, free: 7.312 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001993/0.6985, allocations: 4 kB / 0.7317 GB, free: 7.309 MB / 0.545 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.0001229/0.6986, allocations: 99.23 kB / 0.7318 GB, free: 7.199 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002116/0.6988, allocations: 43.97 kB / 0.7318 GB, free: 7.156 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.6989, allocations: 4 kB / 0.7318 GB, free: 7.152 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.885e-05/0.6989, allocations: 19.92 kB / 0.7318 GB, free: 7.133 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.6992, allocations: 20 kB / 0.7318 GB, free: 7.113 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.6994, allocations: 116.6 kB / 0.732 GB, free: 6.977 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.6997, allocations: 0.6887 MB / 0.7326 GB, free: 6.262 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.736e-05/0.6997, allocations: 0 / 0.7326 GB, free: 6.262 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.114e-05/0.6998, allocations: 7.438 kB / 0.7326 GB, free: 6.254 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.6998, allocations: 4 kB / 0.7326 GB, free: 6.25 MB / 0.545 GB Notification: Performance of Templates: time 0.002351/0.7021, allocations: 347.8 kB / 0.733 GB, free: 5.918 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1) Environment - environmentSimulation: