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.0009673/0.0009671, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001019/0.001019, allocations: 172.7 kB / 15.95 MB, free: 208 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.814/1.814, allocations: 205.4 MB / 222.1 MB, free: 5.531 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.636/1.636, allocations: 252 MB / 0.5102 GB, free: 4.773 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.0005411/0.0005411, allocations: 20 kB / 0.6243 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6697/0.6702, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.001783/0.6721, allocations: 1.078 MB / 0.7292 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003672/0.6725, allocations: 136.6 kB / 0.7293 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.009e-05/0.6725, allocations: 0 / 0.7293 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.182e-05/0.6726, allocations: 3.938 kB / 0.7293 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.649e-05/0.6727, allocations: 0 / 0.7293 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.6729, allocations: 23.91 kB / 0.7293 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.969e-05/0.6729, allocations: 27.92 kB / 0.7294 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.673, allocations: 7.984 kB / 0.7294 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.867e-05/0.6731, allocations: 8 kB / 0.7294 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.309e-05/0.6732, allocations: 15.92 kB / 0.7294 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.6732, allocations: 4 kB / 0.7294 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.359e-05/0.6732, allocations: 0 / 0.7294 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.121e-05/0.6733, allocations: 11.97 kB / 0.7294 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.803e-05/0.6733, allocations: 33.64 kB / 0.7294 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.314e-05/0.6734, allocations: 31.94 kB / 0.7295 GB, free: 10.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.6734, allocations: 3.938 kB / 0.7295 GB, free: 10.01 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6734, allocations: 0 / 0.7295 GB, free: 10.01 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.6734, allocations: 0 / 0.7295 GB, free: 10.01 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.0005266/0.674, allocations: 345.3 kB / 0.7298 GB, free: 9.629 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.674, allocations: 8.031 kB / 0.7298 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.6741, allocations: 7.906 kB / 0.7298 GB, free: 9.613 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.6743, allocations: 183 kB / 0.73 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.6743, allocations: 0 / 0.73 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.6743, allocations: 0 / 0.73 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.6745, allocations: 69.66 kB / 0.7301 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-06/0.6746, allocations: 0 / 0.7301 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.6746, allocations: 0 / 0.7301 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.6746, allocations: 4 kB / 0.7301 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.6748, allocations: 59.89 kB / 0.7301 GB, free: 9.258 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.6752, allocations: 284.8 kB / 0.7304 GB, free: 8.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.6753, allocations: 54.48 kB / 0.7304 GB, free: 8.867 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.967e-05/0.6754, allocations: 28.91 kB / 0.7305 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.6755, allocations: 3.938 kB / 0.7305 GB, free: 8.832 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.6755, allocations: 34.56 kB / 0.7305 GB, free: 8.789 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.6755, allocations: 0 / 0.7305 GB, free: 8.789 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003751/0.6759, allocations: 101.8 kB / 0.7306 GB, free: 8.684 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.6759, allocations: 59.36 kB / 0.7307 GB, free: 8.613 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.16e-05/0.676, allocations: 105.8 kB / 0.7308 GB, free: 8.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.6761, allocations: 25.7 kB / 0.7308 GB, free: 8.469 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.6761, allocations: 95.92 kB / 0.7309 GB, free: 8.371 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.6761, allocations: 4 kB / 0.7309 GB, free: 8.367 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/0.6762, allocations: 0 / 0.7309 GB, free: 8.367 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.6763, allocations: 310.8 kB / 0.7312 GB, free: 8.055 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.684e-05/0.6764, allocations: 31.97 kB / 0.7312 GB, free: 8.023 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.988e-05/0.6765, allocations: 19.98 kB / 0.7312 GB, free: 8.004 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.65e-05/0.6765, allocations: 19.98 kB / 0.7313 GB, free: 7.984 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6766, allocations: 4.062 kB / 0.7313 GB, free: 7.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001912/0.6767, allocations: 85.56 kB / 0.7313 GB, free: 7.891 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.6768, allocations: 7.984 kB / 0.7313 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.6768, allocations: 0 / 0.7313 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.6768, allocations: 0 / 0.7313 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.6769, allocations: 16.03 kB / 0.7314 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.6769, allocations: 7.938 kB / 0.7314 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.92e-05/0.677, allocations: 4 kB / 0.7314 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.677, allocations: 0 / 0.7314 GB, free: 7.855 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.0001345/0.6771, allocations: 117.8 kB / 0.7315 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.6772, allocations: 8 kB / 0.7315 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.6772, allocations: 7.125 kB / 0.7315 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.6772, allocations: 0 / 0.7315 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.6772, allocations: 0 / 0.7315 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.6772, allocations: 3.953 kB / 0.7315 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.6774, allocations: 165.7 kB / 0.7317 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6774, allocations: 0 / 0.7317 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.638e-05/0.6775, allocations: 11.98 kB / 0.7317 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.6775, allocations: 4 kB / 0.7317 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.6775, allocations: 0 / 0.7317 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.6775, allocations: 0 / 0.7317 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.6775, allocations: 4 kB / 0.7317 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.6777, allocations: 175.5 kB / 0.7318 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/0.6778, allocations: 84.95 kB / 0.7319 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.6778, allocations: 8.016 kB / 0.7319 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.57e-05/0.6779, allocations: 8 kB / 0.7319 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.678, allocations: 7.922 kB / 0.732 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.678, allocations: 4.25 kB / 0.732 GB, free: 7.164 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.084e-05/0.678, allocations: 95.16 kB / 0.732 GB, free: 7.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.678, allocations: 0 / 0.732 GB, free: 7.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002058/0.6782, allocations: 4 kB / 0.732 GB, free: 7.066 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.0001229/0.6784, allocations: 107.2 kB / 0.7322 GB, free: 6.949 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002276/0.6786, allocations: 47.97 kB / 0.7322 GB, free: 6.902 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6786, allocations: 0 / 0.7322 GB, free: 6.902 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.285e-05/0.6787, allocations: 32.03 kB / 0.7322 GB, free: 6.871 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.679, allocations: 12.52 kB / 0.7322 GB, free: 6.859 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003154/0.6793, allocations: 124.6 kB / 0.7324 GB, free: 6.715 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.6795, allocations: 0.6848 MB / 0.733 GB, free: 6.004 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.507e-05/0.6796, allocations: 4.062 kB / 0.733 GB, free: 6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.6796, allocations: 11.44 kB / 0.733 GB, free: 5.988 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.6796, allocations: 0 / 0.733 GB, free: 5.988 MB / 0.545 GB Notification: Performance of Templates: time 0.002411/0.682, allocations: 0.4962 MB / 0.7335 GB, free: 5.496 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: