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.001004/0.001004, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.008061/0.008061, allocations: 171.2 kB / 16.27 MB, free: 6.648 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.793/1.793, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.732/1.732, allocations: 252 MB / 0.5105 GB, free: 4.707 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.0005787/0.0005788, allocations: 20 kB / 0.6249 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6782/0.6788, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.00179/0.6807, allocations: 1.074 MB / 0.7298 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000384/0.6811, allocations: 148.4 kB / 0.7299 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.822e-05/0.6812, allocations: 0 / 0.7299 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.6813, allocations: 7.984 kB / 0.7299 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.536e-05/0.6813, allocations: 3.938 kB / 0.7299 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.6815, allocations: 11.98 kB / 0.73 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.267e-05/0.6816, allocations: 31.92 kB / 0.73 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.6817, allocations: 11.98 kB / 0.73 GB, free: 10 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.303e-05/0.6818, allocations: 11.92 kB / 0.73 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.442e-05/0.6819, allocations: 11.94 kB / 0.73 GB, free: 9.977 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.6819, allocations: 0 / 0.73 GB, free: 9.977 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.439e-05/0.6819, allocations: 8 kB / 0.73 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.836e-05/0.682, allocations: 7.984 kB / 0.73 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.935e-05/0.6821, allocations: 41.61 kB / 0.7301 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.345e-05/0.6822, allocations: 39.81 kB / 0.7301 GB, free: 9.875 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.577e-06/0.6822, allocations: 4 kB / 0.7301 GB, free: 9.871 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.657e-06/0.6822, allocations: 0 / 0.7301 GB, free: 9.871 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.6822, allocations: 0 / 0.7301 GB, free: 9.871 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.0005642/0.6828, allocations: 345.5 kB / 0.7304 GB, free: 9.484 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.6828, allocations: 8.031 kB / 0.7305 GB, free: 9.477 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.6829, allocations: 8.844 kB / 0.7305 GB, free: 9.469 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.6831, allocations: 176.3 kB / 0.7306 GB, free: 9.258 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.6831, allocations: 384 / 0.7306 GB, free: 9.258 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.6831, allocations: 4.375 kB / 0.7306 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.6834, allocations: 70.16 kB / 0.7307 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.6834, allocations: 4.188 kB / 0.7307 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.6834, allocations: 15.94 kB / 0.7307 GB, free: 9.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.6835, allocations: 0 / 0.7307 GB, free: 9.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.6837, allocations: 47.95 kB / 0.7308 GB, free: 9.113 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.6841, allocations: 288.7 kB / 0.731 GB, free: 8.781 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.6843, allocations: 46.55 kB / 0.7311 GB, free: 8.727 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.6844, allocations: 32.91 kB / 0.7311 GB, free: 8.691 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.6844, allocations: 0 / 0.7311 GB, free: 8.691 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.6844, allocations: 30.56 kB / 0.7311 GB, free: 8.652 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.6845, allocations: 0 / 0.7311 GB, free: 8.652 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003998/0.6849, allocations: 109.6 kB / 0.7312 GB, free: 8.539 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.6849, allocations: 55.41 kB / 0.7313 GB, free: 8.473 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.059e-05/0.685, allocations: 97.86 kB / 0.7314 GB, free: 8.367 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.685, allocations: 25.7 kB / 0.7314 GB, free: 8.336 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.6851, allocations: 99.97 kB / 0.7315 GB, free: 8.234 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.6851, allocations: 3.906 kB / 0.7315 GB, free: 8.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.6851, allocations: 17.78 kB / 0.7315 GB, free: 8.207 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.6852, allocations: 322.8 kB / 0.7318 GB, free: 7.883 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.389e-05/0.6853, allocations: 19.97 kB / 0.7319 GB, free: 7.863 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.347e-05/0.6854, allocations: 23.98 kB / 0.7319 GB, free: 7.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.6856, allocations: 56.88 kB / 0.7319 GB, free: 7.781 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6856, allocations: 0 / 0.7319 GB, free: 7.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002271/0.6859, allocations: 89.59 kB / 0.732 GB, free: 7.688 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.6859, allocations: 4 kB / 0.732 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.6859, allocations: 0 / 0.732 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.6859, allocations: 0 / 0.732 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.686, allocations: 11.98 kB / 0.732 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.686, allocations: 0 / 0.732 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.001e-05/0.6861, allocations: 16.02 kB / 0.7321 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.6861, allocations: 0 / 0.7321 GB, free: 7.656 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.0001383/0.6863, allocations: 117.8 kB / 0.7322 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.6863, allocations: 0 / 0.7322 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.6863, allocations: 7.125 kB / 0.7322 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.6863, allocations: 0 / 0.7322 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.6863, allocations: 0 / 0.7322 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.6864, allocations: 0 / 0.7322 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.6865, allocations: 169.6 kB / 0.7323 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.6865, allocations: 4 kB / 0.7323 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.364e-05/0.6866, allocations: 11.98 kB / 0.7324 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.6866, allocations: 0 / 0.7324 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.6866, allocations: 3.984 kB / 0.7324 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.6866, allocations: 4 kB / 0.7324 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6866, allocations: 0 / 0.7324 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.6869, allocations: 191.3 kB / 0.7325 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.687, allocations: 81.05 kB / 0.7326 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.687, allocations: 0 / 0.7326 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.519e-05/0.6871, allocations: 8.234 kB / 0.7326 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.6872, allocations: 7.938 kB / 0.7326 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.6872, allocations: 8.031 kB / 0.7326 GB, free: 6.961 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.623e-05/0.6872, allocations: 87.27 kB / 0.7327 GB, free: 6.875 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6872, allocations: 0 / 0.7327 GB, free: 6.875 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002138/0.6875, allocations: 8 kB / 0.7327 GB, free: 6.867 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.0001483/0.6876, allocations: 95.25 kB / 0.7328 GB, free: 6.762 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.6879, allocations: 63.83 kB / 0.7329 GB, free: 6.699 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6879, allocations: 0 / 0.7329 GB, free: 6.699 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.688, allocations: 23.98 kB / 0.7329 GB, free: 6.676 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.6883, allocations: 11.92 kB / 0.7329 GB, free: 6.664 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003679/0.6886, allocations: 132.8 kB / 0.733 GB, free: 6.512 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.689, allocations: 0.677 MB / 0.7337 GB, free: 5.809 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.947e-05/0.689, allocations: 4 kB / 0.7337 GB, free: 5.805 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.6891, allocations: 11.44 kB / 0.7337 GB, free: 5.793 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.6891, allocations: 4 kB / 0.7337 GB, free: 5.789 MB / 0.545 GB Notification: Performance of Templates: time 0.002839/0.6919, allocations: 0.5091 MB / 0.7342 GB, free: 5.285 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: