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.00155/0.00155, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001527/0.001527, allocations: 197.3 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.676/1.676, allocations: 251.6 MB / 0.5089 GB, free: 3.273 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.001352/0.001353, allocations: 71.89 kB / 0.6218 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6719/0.6733, allocations: 104.7 MB / 0.724 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.00285/0.6762, allocations: 1.416 MB / 0.7254 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004274/0.6766, allocations: 148.4 kB / 0.7255 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.654e-05/0.6767, allocations: 0 / 0.7255 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.6769, allocations: 0 / 0.7255 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.216e-05/0.6769, allocations: 3.938 kB / 0.7255 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.6771, allocations: 11.98 kB / 0.7255 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.81e-05/0.6772, allocations: 39.91 kB / 0.7256 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.6774, allocations: 15.98 kB / 0.7256 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.135e-05/0.6774, allocations: 11.94 kB / 0.7256 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.08e-05/0.6775, allocations: 15.92 kB / 0.7256 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.6775, allocations: 7.938 kB / 0.7256 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.403e-05/0.6776, allocations: 4 kB / 0.7256 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.309e-05/0.6776, allocations: 11.98 kB / 0.7256 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.729e-05/0.6777, allocations: 19.86 kB / 0.7257 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.6778, allocations: 35.88 kB / 0.7257 GB, free: 11.46 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.6778, allocations: 4 kB / 0.7257 GB, free: 11.46 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.923e-06/0.6778, allocations: 4 kB / 0.7257 GB, free: 11.46 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.6778, allocations: 0 / 0.7257 GB, free: 11.46 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.0005771/0.6784, allocations: 349.5 kB / 0.726 GB, free: 11.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.6785, allocations: 8.031 kB / 0.726 GB, free: 11.06 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.484e-05/0.6785, allocations: 4.938 kB / 0.726 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.6788, allocations: 180.2 kB / 0.7262 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.6788, allocations: 384 / 0.7262 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.6788, allocations: 4.375 kB / 0.7262 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.679, allocations: 62.23 kB / 0.7263 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.6791, allocations: 192 / 0.7263 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.6791, allocations: 7.938 kB / 0.7263 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.6791, allocations: 4 kB / 0.7263 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.6793, allocations: 43.94 kB / 0.7263 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.6797, allocations: 284.7 kB / 0.7266 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.6799, allocations: 38.56 kB / 0.7266 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.488e-05/0.68, allocations: 28.89 kB / 0.7267 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.68, allocations: 0 / 0.7267 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.6801, allocations: 30.56 kB / 0.7267 GB, free: 10.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.6801, allocations: 4 kB / 0.7267 GB, free: 10.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003866/0.6805, allocations: 89.58 kB / 0.7268 GB, free: 10.17 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.6805, allocations: 51.41 kB / 0.7268 GB, free: 10.11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.6806, allocations: 105.8 kB / 0.7269 GB, free: 9.996 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.6807, allocations: 29.7 kB / 0.727 GB, free: 9.961 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.6807, allocations: 88.2 kB / 0.727 GB, free: 9.871 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.6808, allocations: 11.89 kB / 0.7271 GB, free: 9.859 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.6808, allocations: 17.72 kB / 0.7271 GB, free: 9.836 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.681, allocations: 314.8 kB / 0.7274 GB, free: 9.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.282e-05/0.6811, allocations: 23.97 kB / 0.7274 GB, free: 9.496 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.271e-05/0.6812, allocations: 11.98 kB / 0.7274 GB, free: 9.484 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.6813, allocations: 57.06 kB / 0.7275 GB, free: 9.426 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6813, allocations: 0 / 0.7275 GB, free: 9.426 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001899/0.6815, allocations: 69.66 kB / 0.7275 GB, free: 9.352 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.6815, allocations: 4 kB / 0.7275 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.6816, allocations: 0 / 0.7275 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.6816, allocations: 0 / 0.7275 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.6817, allocations: 11.98 kB / 0.7275 GB, free: 9.336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.6817, allocations: 7.969 kB / 0.7276 GB, free: 9.328 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.166e-05/0.6818, allocations: 4 kB / 0.7276 GB, free: 9.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.6818, allocations: 3.984 kB / 0.7276 GB, free: 9.32 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001706/0.682, allocations: 118.7 kB / 0.7277 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.682, allocations: 0 / 0.7277 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.682, allocations: 7.125 kB / 0.7277 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.682, allocations: 0 / 0.7277 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.682, allocations: 0 / 0.7277 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.6821, allocations: 0 / 0.7277 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.6822, allocations: 177.5 kB / 0.7279 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6823, allocations: 0 / 0.7279 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.821e-05/0.6823, allocations: 15.92 kB / 0.7279 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.6823, allocations: 0 / 0.7279 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.6824, allocations: 0 / 0.7279 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.6824, allocations: 0 / 0.7279 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.6824, allocations: 0 / 0.7279 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.6826, allocations: 183.4 kB / 0.728 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.731e-05/0.6827, allocations: 77.11 kB / 0.7281 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.6827, allocations: 0 / 0.7281 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.072e-05/0.6828, allocations: 4 kB / 0.7281 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/0.6828, allocations: 11.98 kB / 0.7281 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.6829, allocations: 0 / 0.7281 GB, free: 8.645 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.056e-05/0.6829, allocations: 83.27 kB / 0.7282 GB, free: 8.562 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6829, allocations: 0 / 0.7282 GB, free: 8.562 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002143/0.6831, allocations: 15.97 kB / 0.7282 GB, free: 8.547 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001224/0.6833, allocations: 99.19 kB / 0.7283 GB, free: 8.438 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.6835, allocations: 43.89 kB / 0.7284 GB, free: 8.395 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6835, allocations: 0 / 0.7284 GB, free: 8.395 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.933e-05/0.6836, allocations: 23.98 kB / 0.7284 GB, free: 8.371 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.6839, allocations: 4.125 kB / 0.7284 GB, free: 8.367 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.6842, allocations: 145.4 kB / 0.7285 GB, free: 8.199 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.6845, allocations: 0.6807 MB / 0.7292 GB, free: 7.492 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.651e-05/0.6845, allocations: 0 / 0.7292 GB, free: 7.492 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/0.6846, allocations: 15.44 kB / 0.7292 GB, free: 7.477 MB / 0.545 GB Notification: Performance of SimCode: time 2.685e-06/0.6846, allocations: 0 / 0.7292 GB, free: 7.477 MB / 0.545 GB Notification: Performance of Templates: time 0.002746/0.6873, allocations: 0.5509 MB / 0.7297 GB, free: 6.93 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile (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)