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.IntegerReplicator.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.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009241/0.0009242, allocations: 99.7 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.000923/0.0009231, allocations: 177.3 kB / 15.95 MB, free: 216 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.603/1.603, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.651/1.651, allocations: 251.9 MB / 0.51 GB, free: 4.828 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.0005302/0.0005303, allocations: 16 kB / 0.6241 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6959/0.6964, 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.IntegerReplicator): time 0.001613/0.6981, allocations: 1.069 MB / 0.729 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003504/0.6984, allocations: 136.6 kB / 0.7292 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.497e-05/0.6985, allocations: 4 kB / 0.7292 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.381e-05/0.6986, allocations: 3.938 kB / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.931e-05/0.6986, allocations: 4 kB / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.6988, allocations: 15.92 kB / 0.7292 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.002e-05/0.6989, allocations: 19.97 kB / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.699, allocations: 4 kB / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.354e-05/0.6991, allocations: 19.92 kB / 0.7292 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.471e-05/0.6992, allocations: 15.91 kB / 0.7292 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.6992, allocations: 0 / 0.7292 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.378e-05/0.6992, allocations: 0 / 0.7292 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.916e-05/0.6993, allocations: 11.94 kB / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.597e-05/0.6993, allocations: 33.7 kB / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.738e-05/0.6994, allocations: 27.94 kB / 0.7293 GB, free: 10.03 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.6994, allocations: 0 / 0.7293 GB, free: 10.03 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6994, allocations: 0 / 0.7293 GB, free: 10.03 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.902e-06/0.6994, allocations: 0 / 0.7293 GB, free: 10.03 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005092/0.6999, allocations: 349.2 kB / 0.7296 GB, free: 9.641 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.7, allocations: 8.031 kB / 0.7297 GB, free: 9.633 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.7, allocations: 11.91 kB / 0.7297 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.7002, allocations: 175 kB / 0.7298 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.7003, allocations: 0 / 0.7298 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.7003, allocations: 8 kB / 0.7298 GB, free: 9.402 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.7005, allocations: 69.64 kB / 0.7299 GB, free: 9.328 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.7005, allocations: 4 kB / 0.7299 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.7006, allocations: 0 / 0.7299 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.7006, allocations: 0 / 0.7299 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.7008, allocations: 63.83 kB / 0.73 GB, free: 9.262 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.7012, allocations: 272.8 kB / 0.7302 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.7013, allocations: 50.55 kB / 0.7303 GB, free: 8.887 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.7014, allocations: 0 / 0.7303 GB, free: 8.887 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.7014, allocations: 38.5 kB / 0.7303 GB, free: 8.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.7014, allocations: 0 / 0.7303 GB, free: 8.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004153/0.7018, allocations: 105.7 kB / 0.7304 GB, free: 8.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.7019, allocations: 59.36 kB / 0.7305 GB, free: 8.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.196e-05/0.702, allocations: 102 kB / 0.7306 GB, free: 8.551 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.702, allocations: 29.69 kB / 0.7306 GB, free: 8.516 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.094e-05/0.7021, allocations: 88.05 kB / 0.7307 GB, free: 8.426 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.7021, allocations: 4 kB / 0.7307 GB, free: 8.422 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-06/0.7021, allocations: 0 / 0.7307 GB, free: 8.422 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.7023, allocations: 310.8 kB / 0.731 GB, free: 8.109 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.7024, allocations: 27.97 kB / 0.731 GB, free: 8.082 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.639e-05/0.7025, allocations: 23.98 kB / 0.731 GB, free: 8.059 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.72e-05/0.7026, allocations: 27.92 kB / 0.7311 GB, free: 8.031 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7026, allocations: 0 / 0.7311 GB, free: 8.031 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002375/0.7029, allocations: 81.62 kB / 0.7311 GB, free: 7.945 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.7029, allocations: 8 kB / 0.7311 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.7029, allocations: 0 / 0.7311 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.7029, allocations: 3.984 kB / 0.7311 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.7031, allocations: 8 kB / 0.7312 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.7031, allocations: 0 / 0.7312 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.111e-05/0.7032, allocations: 23.97 kB / 0.7312 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.7032, allocations: 0 / 0.7312 GB, free: 7.902 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: 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.0001712/0.7033, allocations: 116.5 kB / 0.7313 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.7034, allocations: 11.91 kB / 0.7313 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.536e-05/0.7034, allocations: 7.125 kB / 0.7313 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.7034, allocations: 0 / 0.7313 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.7034, allocations: 4 kB / 0.7313 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.7034, allocations: 4 kB / 0.7313 GB, free: 7.754 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.7036, allocations: 165.6 kB / 0.7315 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.7036, allocations: 0 / 0.7315 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/0.7037, allocations: 16.17 kB / 0.7315 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.7037, allocations: 0 / 0.7315 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.7038, allocations: 4 kB / 0.7315 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.7038, allocations: 0 / 0.7315 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7038, allocations: 0 / 0.7315 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.7041, allocations: 179.5 kB / 0.7317 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/0.7041, allocations: 84.95 kB / 0.7317 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.7042, allocations: 4 kB / 0.7317 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-05/0.7043, allocations: 16.02 kB / 0.7318 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.7043, allocations: 7.984 kB / 0.7318 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.7043, allocations: 0 / 0.7318 GB, free: 7.203 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.81e-05/0.7044, allocations: 83.28 kB / 0.7319 GB, free: 7.121 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7044, allocations: 0 / 0.7319 GB, free: 7.121 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002088/0.7046, allocations: 4 kB / 0.7319 GB, free: 7.117 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: 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.0001522/0.7047, allocations: 103.2 kB / 0.732 GB, free: 7.004 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002493/0.705, allocations: 51.91 kB / 0.732 GB, free: 6.953 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.705, allocations: 0 / 0.732 GB, free: 6.953 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.714e-05/0.7051, allocations: 27.97 kB / 0.732 GB, free: 6.926 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.7053, allocations: 12.83 kB / 0.732 GB, free: 6.914 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003024/0.7056, allocations: 128.6 kB / 0.7322 GB, free: 6.766 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.7059, allocations: 0.6848 MB / 0.7328 GB, free: 6.055 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.792e-05/0.7059, allocations: 4 kB / 0.7328 GB, free: 6.051 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.706, allocations: 11.44 kB / 0.7328 GB, free: 6.039 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.706, allocations: 0 / 0.7328 GB, free: 6.039 MB / 0.545 GB Notification: Performance of Templates: time 0.002627/0.7086, allocations: 0.5037 MB / 0.7333 GB, free: 5.543 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1) Environment - environmentSimulation: