Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 107.7 kB / 16.38 MB, free: 6.469 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.001196/0.001196, allocations: 189.6 kB / 17.31 MB, free: 5.82 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.732/1.732, allocations: 205.1 MB / 223.2 MB, free: 12.27 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 1.97/1.97, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.002521/0.002521, allocations: 70.88 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2976, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.001982/0.2996, allocations: 0.6233 MB / 0.7854 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.3011, allocations: 1.113 MB / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.415e-05/0.3011, allocations: 7.938 kB / 0.7865 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.034e-05/0.3012, allocations: 0 / 0.7865 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.292e-05/0.3013, allocations: 3.938 kB / 0.7865 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004646/0.3017, allocations: 119.1 kB / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.3019, allocations: 99.88 kB / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.397e-05/0.302, allocations: 7.984 kB / 0.7867 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.081e-05/0.302, allocations: 31.98 kB / 0.7868 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.3021, allocations: 35.88 kB / 0.7868 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.3022, allocations: 8 kB / 0.7868 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.751e-05/0.3022, allocations: 27.92 kB / 0.7868 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.3023, allocations: 7.938 kB / 0.7868 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.479e-05/0.3024, allocations: 35.91 kB / 0.7869 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.3025, allocations: 83.78 kB / 0.787 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3025, allocations: 4 kB / 0.787 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3026, allocations: 4 kB / 0.787 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.3026, allocations: 0 / 0.787 GB, free: 0.9531 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.0004571/0.303, allocations: 377.1 kB / 0.7873 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3031, allocations: 8.031 kB / 0.7873 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.575e-05/0.3031, allocations: 12.92 kB / 0.7873 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.3033, allocations: 184.3 kB / 0.7875 GB, free: 296 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.3033, allocations: 384 / 0.7875 GB, free: 296 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.3034, allocations: 8.375 kB / 0.7875 GB, free: 288 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.3035, allocations: 58.16 kB / 0.7876 GB, free: 224 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.3035, allocations: 192 / 0.7876 GB, free: 224 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3035, allocations: 7.875 kB / 0.7876 GB, free: 216 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3035, allocations: 3.938 kB / 0.7876 GB, free: 212 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.059e-05/0.3036, allocations: 12 kB / 0.7876 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4308/0.7344, allocations: 299.8 kB / 0.7879 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.457e-05/0.7346, allocations: 22.52 kB / 0.7879 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.7346, allocations: 9.359 kB / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.7346, allocations: 0 / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.7349, allocations: 60.36 kB / 0.788 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.415e-06/0.7349, allocations: 0 / 0.788 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0002555/0.7352, allocations: 64.25 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.7352, allocations: 52.44 kB / 0.7881 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.925e-05/0.7353, allocations: 114.9 kB / 0.7882 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.7353, allocations: 30.05 kB / 0.7882 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.7354, allocations: 90.58 kB / 0.7883 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.7354, allocations: 5.406 kB / 0.7883 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/0.7355, allocations: 32.38 kB / 0.7884 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.29e-05/0.7355, allocations: 314 kB / 0.7887 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-05/0.7356, allocations: 27.86 kB / 0.7887 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.376e-05/0.7357, allocations: 51.5 kB / 0.7887 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.7358, allocations: 82.75 kB / 0.7888 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.7359, allocations: 0.7188 kB / 0.7888 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000235/0.7361, allocations: 144.8 kB / 0.7889 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/0.7362, allocations: 41.09 kB / 0.789 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.7362, allocations: 2.625 kB / 0.789 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.7362, allocations: 0 / 0.789 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.38e-05/0.7362, allocations: 4.031 kB / 0.789 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.7362, allocations: 0 / 0.789 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.7365, allocations: 29.16 kB / 0.789 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.7365, allocations: 5.25 kB / 0.789 GB, free: 47.92 MB / 0.6544 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 (booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.7366, allocations: 119.6 kB / 0.7891 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/0.7366, allocations: 15.03 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.02e-05/0.7367, allocations: 3.906 kB / 0.7892 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.7367, allocations: 3.234 kB / 0.7892 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.7367, allocations: 0 / 0.7892 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.7367, allocations: 77.11 kB / 0.7892 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.7368, allocations: 2.625 kB / 0.7892 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.658e-05/0.7368, allocations: 0 / 0.7892 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.7368, allocations: 10.45 kB / 0.7892 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.492e-05/0.7369, allocations: 132.7 kB / 0.7894 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001272/0.7371, allocations: 230 kB / 0.7896 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.986e-05/0.7371, allocations: 10.03 kB / 0.7896 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.266e-05/0.7371, allocations: 85.97 kB / 0.7897 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of Backend: time 4.41e-07/0.7371, allocations: 1.281 kB / 0.7897 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005401/0.7377, allocations: 205.6 kB / 0.7899 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004988/0.7382, allocations: 0.5653 MB / 0.7904 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of Templates: time 0.005033/0.7432, allocations: 1.065 MB / 0.7915 GB, free: 46.6 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)