Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.719/1.719, allocations: 287.5 MB / 302.6 MB, free: 8.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 170.2 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.999/1.999, allocations: 205.4 MB / 0.6298 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 100.7 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004205/0.0004208, allocations: 13.17 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2706, allocations: 115.3 MB / 0.9787 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.001071/0.2718, allocations: 333.9 kB / 0.979 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.2735, allocations: 1.086 MB / 0.9801 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.373e-05/0.2736, allocations: 4 kB / 0.9801 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.2737, allocations: 7.938 kB / 0.9801 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.929e-05/0.2737, allocations: 4 kB / 0.9801 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006568/0.2744, allocations: 115.2 kB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.2745, allocations: 63.89 kB / 0.9803 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.2747, allocations: 15.88 kB / 0.9803 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.847e-05/0.2747, allocations: 27.97 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.886e-05/0.2748, allocations: 27.89 kB / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.2749, allocations: 4 kB / 0.9803 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.663e-05/0.275, allocations: 23.98 kB / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.705e-05/0.275, allocations: 4 kB / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.289e-05/0.2751, allocations: 37.64 kB / 0.9804 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.2752, allocations: 59.84 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2752, allocations: 0 / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2753, allocations: 0 / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.2753, allocations: 4 kB / 0.9805 GB, free: 26.34 MB / 0.6198 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.0004562/0.2757, allocations: 369.4 kB / 0.9808 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.2758, allocations: 8.031 kB / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.915e-05/0.2759, allocations: 4.938 kB / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.2761, allocations: 184.3 kB / 0.981 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.2761, allocations: 4.375 kB / 0.981 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.2761, allocations: 8.375 kB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.2762, allocations: 46.25 kB / 0.9811 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2763, allocations: 192 / 0.9811 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.2763, allocations: 3.938 kB / 0.9811 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.2763, allocations: 0 / 0.9811 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.947e-05/0.2763, allocations: 19.92 kB / 0.9811 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.2767, allocations: 300.8 kB / 0.9814 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.091e-05/0.2768, allocations: 22.58 kB / 0.9814 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/0.2768, allocations: 8.922 kB / 0.9814 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.2768, allocations: 3.938 kB / 0.9814 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.277, allocations: 55.39 kB / 0.9814 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.277, allocations: 7.938 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002262/0.2772, allocations: 65.59 kB / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.2773, allocations: 51.41 kB / 0.9816 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.52e-05/0.2774, allocations: 109.8 kB / 0.9817 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.2774, allocations: 25.7 kB / 0.9817 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.175e-05/0.2774, allocations: 100 kB / 0.9818 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.087e-06/0.2774, allocations: 4 kB / 0.9818 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/0.2775, allocations: 0 / 0.9818 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.335e-05/0.2775, allocations: 322.8 kB / 0.9821 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.61e-05/0.2776, allocations: 27.98 kB / 0.9821 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.758e-05/0.2777, allocations: 50.55 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.386e-05/0.2778, allocations: 76.22 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2778, allocations: 0 / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002283/0.278, allocations: 159.4 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.2781, allocations: 33.7 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2781, allocations: 3.938 kB / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2781, allocations: 0 / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.061e-05/0.2781, allocations: 8.312 kB / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2781, allocations: 0 / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.2784, allocations: 44.02 kB / 0.9825 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.2784, allocations: 4 kB / 0.9825 GB, free: 23.99 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 7.428e-05/0.2785, allocations: 121.8 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.2785, allocations: 0 / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.2785, allocations: 11.89 kB / 0.9826 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.2785, allocations: 0 / 0.9826 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2785, allocations: 0 / 0.9826 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2786, allocations: 0 / 0.9826 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.409e-05/0.2786, allocations: 161.6 kB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2786, allocations: 4 kB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.183e-06/0.2787, allocations: 3.984 kB / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2787, allocations: 0 / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.2787, allocations: 4 kB / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.2787, allocations: 7.938 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2787, allocations: 0 / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.132e-05/0.2788, allocations: 80.97 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.2788, allocations: 77.11 kB / 0.9829 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.2788, allocations: 15.92 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.462e-05/0.2789, allocations: 0 / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/0.2789, allocations: 0 / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.2789, allocations: 0 / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.746e-05/0.2789, allocations: 87.28 kB / 0.983 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2789, allocations: 0 / 0.983 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002184/0.2792, allocations: 15.98 kB / 0.9831 GB, free: 23.31 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000134/0.2793, allocations: 99.25 kB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000176/0.2795, allocations: 131.2 kB / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2795, allocations: 0 / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.459e-05/0.2795, allocations: 4 kB / 0.9833 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.2797, allocations: 15.98 kB / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.28, allocations: 138.5 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.2802, allocations: 0.685 MB / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.082e-05/0.2802, allocations: 0 / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.55e-05/0.2802, allocations: 11.44 kB / 0.9841 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of SimCode: time 3.51e-07/0.2802, allocations: 0 / 0.9841 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.003128/0.2834, allocations: 0.9794 MB / 0.9851 GB, free: 21.2 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)