Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001312/0.001312, allocations: 112 kB / 16.38 MB, free: 5.539 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.001366/0.001366, allocations: 191.6 kB / 17.31 MB, free: 5.188 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.552/1.552, allocations: 205.1 MB / 223.2 MB, free: 12.11 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.007/2.007, allocations: 292.3 MB / 0.5496 GB, free: 17.66 MB / 462.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.001603/0.001603, allocations: 67.91 kB / 0.6729 GB, free: 5.773 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.265, allocations: 114.6 MB / 0.7848 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.002219/0.2673, allocations: 0.6458 MB / 0.7854 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009666/0.2683, allocations: 0.797 MB / 0.7862 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.629e-05/0.2683, allocations: 4 kB / 0.7862 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.2685, allocations: 4 kB / 0.7862 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.308e-05/0.2685, allocations: 3.938 kB / 0.7862 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000122/0.2686, allocations: 0 / 0.7862 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.667e-05/0.2687, allocations: 27.92 kB / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.2689, allocations: 7.984 kB / 0.7863 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.517e-05/0.2689, allocations: 7.938 kB / 0.7863 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.315e-05/0.269, allocations: 11.98 kB / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.269, allocations: 8 kB / 0.7863 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.344e-06/0.269, allocations: 0 / 0.7863 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.2691, allocations: 23.84 kB / 0.7863 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.2691, allocations: 11.94 kB / 0.7863 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.773e-05/0.2692, allocations: 23.89 kB / 0.7863 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2692, allocations: 0 / 0.7863 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2692, allocations: 0 / 0.7863 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2693, allocations: 0 / 0.7863 GB, free: 1.512 MB / 0.6544 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.0004468/0.2697, allocations: 347.4 kB / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.2698, allocations: 12.03 kB / 0.7867 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.2698, allocations: 4.938 kB / 0.7867 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.27, allocations: 176.2 kB / 0.7869 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.27, allocations: 384 / 0.7869 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.27, allocations: 384 / 0.7869 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.2702, allocations: 58.23 kB / 0.7869 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.2702, allocations: 192 / 0.7869 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.2702, allocations: 3.938 kB / 0.7869 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.2702, allocations: 0 / 0.7869 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.2704, allocations: 35.97 kB / 0.787 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.2708, allocations: 280.8 kB / 0.7872 GB, free: 480 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.2709, allocations: 30.56 kB / 0.7873 GB, free: 440 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.648e-05/0.271, allocations: 20.91 kB / 0.7873 GB, free: 416 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.2711, allocations: 0 / 0.7873 GB, free: 416 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.2711, allocations: 34.56 kB / 0.7873 GB, free: 372 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.2711, allocations: 0 / 0.7873 GB, free: 372 kB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0003531/0.2714, allocations: 81.58 kB / 0.7874 GB, free: 284 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.2715, allocations: 51.53 kB / 0.7874 GB, free: 220 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.132e-05/0.2716, allocations: 109.8 kB / 0.7875 GB, free: 100 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.2716, allocations: 25.7 kB / 0.7876 GB, free: 68 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.4139/0.6855, allocations: 85.2 kB / 0.7876 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/0.6856, allocations: 5.281 kB / 0.7877 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.6857, allocations: 11.34 kB / 0.7877 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.346e-05/0.6857, allocations: 316.2 kB / 0.788 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.6859, allocations: 17.67 kB / 0.788 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.095e-05/0.686, allocations: 15.73 kB / 0.788 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.6861, allocations: 39.41 kB / 0.788 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.6861, allocations: 0 / 0.788 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002503/0.6864, allocations: 64.03 kB / 0.7881 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.6864, allocations: 6.25 kB / 0.7881 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.6864, allocations: 1.219 kB / 0.7881 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.6865, allocations: 1.5 kB / 0.7881 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.702e-05/0.6866, allocations: 8.641 kB / 0.7881 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.6866, allocations: 6.031 kB / 0.7881 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.989e-05/0.6867, allocations: 6.781 kB / 0.7881 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.6867, allocations: 3.469 kB / 0.7881 GB, free: 48.21 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.236e-05/0.6867, allocations: 114.4 kB / 0.7882 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.6868, allocations: 3.438 kB / 0.7882 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.6868, allocations: 6.641 kB / 0.7882 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.6868, allocations: 3.938 kB / 0.7882 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6868, allocations: 2.344 kB / 0.7883 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.319e-05/0.6868, allocations: 80.05 kB / 0.7883 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.6869, allocations: 1 kB / 0.7883 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.591e-05/0.687, allocations: 9.719 kB / 0.7883 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.687, allocations: 5.5 kB / 0.7883 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002198/0.6872, allocations: 140.8 kB / 0.7885 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002144/0.6875, allocations: 237.9 kB / 0.7887 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.449e-05/0.6875, allocations: 22.02 kB / 0.7887 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.716e-05/0.6876, allocations: 80.19 kB / 0.7888 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of Backend: time 3.41e-07/0.6876, allocations: 0 / 0.7888 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004058/0.688, allocations: 94.08 kB / 0.7889 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004907/0.6885, allocations: 0.5534 MB / 0.7894 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of Templates: time 0.003127/0.6916, allocations: 0.5063 MB / 0.7899 GB, free: 46.98 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)