Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.852/1.852, allocations: 288.4 MB / 303.4 MB, free: 8.145 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.001061/0.001061, allocations: 178.9 kB / 372 MB, free: 10.27 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.893/1.893, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0007861/0.0007861, allocations: 90.38 kB / 0.7441 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004396, allocations: 11.22 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2716, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.001007/0.2727, allocations: 346 kB / 0.9799 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.2744, allocations: 1.087 MB / 0.981 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.858e-05/0.2745, allocations: 0 / 0.981 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.2747, allocations: 3.938 kB / 0.981 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.127e-05/0.2747, allocations: 7.922 kB / 0.981 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006134/0.2753, allocations: 108.9 kB / 0.9811 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.2754, allocations: 71.83 kB / 0.9812 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.2756, allocations: 8 kB / 0.9812 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.911e-05/0.2757, allocations: 35.89 kB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.546e-05/0.2758, allocations: 19.97 kB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.2758, allocations: 4 kB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.538e-05/0.2759, allocations: 19.92 kB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.2759, allocations: 7.984 kB / 0.9813 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.645e-05/0.276, allocations: 37.7 kB / 0.9813 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.2762, allocations: 55.86 kB / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2762, allocations: 4 kB / 0.9813 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2762, allocations: 4 kB / 0.9813 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.2762, allocations: 0 / 0.9813 GB, free: 25.85 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.0004365/0.2766, allocations: 365.2 kB / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.2767, allocations: 8.031 kB / 0.9817 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/0.2768, allocations: 11.98 kB / 0.9817 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.277, allocations: 179 kB / 0.9819 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.277, allocations: 4 kB / 0.9819 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.277, allocations: 4 kB / 0.9819 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.2771, allocations: 49.67 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2772, allocations: 4 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.2772, allocations: 4 kB / 0.9819 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2772, allocations: 0 / 0.9819 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.443e-05/0.2772, allocations: 8 kB / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.2777, allocations: 308.6 kB / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.346e-05/0.2777, allocations: 30.5 kB / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.2778, allocations: 12.86 kB / 0.9823 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.2778, allocations: 8 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.2779, allocations: 59.38 kB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.2779, allocations: 0 / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000209/0.2782, allocations: 65.53 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.2782, allocations: 55.41 kB / 0.9825 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.687e-05/0.2783, allocations: 113.8 kB / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.2783, allocations: 33.7 kB / 0.9826 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.2784, allocations: 88.12 kB / 0.9827 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.204e-05/0.2784, allocations: 3.906 kB / 0.9827 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.098e-05/0.2784, allocations: 4 kB / 0.9827 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.845e-05/0.2785, allocations: 318.8 kB / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.56e-05/0.2786, allocations: 27.98 kB / 0.983 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.349e-05/0.2787, allocations: 46.56 kB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.633e-05/0.2788, allocations: 65.62 kB / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2788, allocations: 0 / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000235/0.279, allocations: 143.2 kB / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/0.2791, allocations: 37.69 kB / 0.9833 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2791, allocations: 4 kB / 0.9833 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.2791, allocations: 0 / 0.9833 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.218e-05/0.2791, allocations: 0 / 0.9833 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.2792, allocations: 4 kB / 0.9833 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/0.2794, allocations: 42.55 kB / 0.9834 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.2794, allocations: 4 kB / 0.9834 GB, free: 23.53 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 0.0001115/0.2796, allocations: 121.8 kB / 0.9835 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.2796, allocations: 0 / 0.9835 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.2796, allocations: 3.906 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2796, allocations: 4 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.2796, allocations: 4 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.2797, allocations: 0 / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.2798, allocations: 169.6 kB / 0.9837 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2798, allocations: 0 / 0.9837 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.817e-06/0.2798, allocations: 0 / 0.9837 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.2798, allocations: 0 / 0.9837 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.2799, allocations: 0 / 0.9837 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2799, allocations: 3.938 kB / 0.9837 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2799, allocations: 0 / 0.9837 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.28, allocations: 96.91 kB / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.28, allocations: 77.11 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.28, allocations: 0 / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.471e-05/0.2801, allocations: 0 / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.2801, allocations: 7.938 kB / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.2801, allocations: 0 / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.678e-05/0.2802, allocations: 87.58 kB / 0.9839 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2802, allocations: 0 / 0.9839 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002405/0.2804, allocations: 20 kB / 0.9839 GB, free: 22.85 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.0001564/0.2806, allocations: 99.44 kB / 0.984 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001932/0.2808, allocations: 123.3 kB / 0.9841 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2808, allocations: 0 / 0.9841 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-05/0.2808, allocations: 12.27 kB / 0.9842 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.2811, allocations: 12.81 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003133/0.2814, allocations: 140.9 kB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.2816, allocations: 0.681 MB / 0.985 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.321e-05/0.2816, allocations: 7.969 kB / 0.985 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.582e-05/0.2816, allocations: 11.44 kB / 0.985 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of SimCode: time 3.31e-07/0.2816, allocations: 0 / 0.985 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.003455/0.2851, allocations: 0.9616 MB / 0.9859 GB, free: 20.75 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)