Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002415/0.002415, allocations: 195.2 kB / 16.14 MB, free: 6.711 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.664/1.664, allocations: 205.1 MB / 222 MB, free: 4.996 MB / 174.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.832/1.832, allocations: 292.2 MB / 0.5484 GB, free: 13.7 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.001359/0.001359, allocations: 63.98 kB / 0.6708 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2836, allocations: 114.6 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002097/0.2857, allocations: 0.687 MB / 0.7834 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.2873, allocations: 1.13 MB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.646e-05/0.2873, allocations: 0 / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.2875, allocations: 0 / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.2876, allocations: 11.92 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.288, allocations: 110.4 kB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.2883, allocations: 159.7 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.2884, allocations: 27.95 kB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.866e-05/0.2885, allocations: 55.91 kB / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.2887, allocations: 63.72 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/0.2887, allocations: 8 kB / 0.7849 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.2888, allocations: 23.98 kB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.835e-05/0.2889, allocations: 23.98 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.289, allocations: 59.75 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.2893, allocations: 191.8 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.2893, allocations: 0 / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2893, allocations: 0 / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.2894, allocations: 0 / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007966/0.2902, allocations: 450.7 kB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.2902, allocations: 12.03 kB / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.651e-05/0.2903, allocations: 16.78 kB / 0.7856 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.2906, allocations: 216.2 kB / 0.7858 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.2906, allocations: 12.38 kB / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.714e-05/0.2907, allocations: 16.36 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.2909, allocations: 99.86 kB / 0.7859 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.291, allocations: 4.125 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.291, allocations: 3.938 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.291, allocations: 4 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.729e-05/0.2911, allocations: 39.91 kB / 0.786 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006344/0.2917, allocations: 492.8 kB / 0.7865 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.2918, allocations: 65.12 kB / 0.7865 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.717e-05/0.2919, allocations: 37.77 kB / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.2919, allocations: 0 / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.2921, allocations: 109 kB / 0.7867 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.2921, allocations: 0 / 0.7867 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0003436/0.2925, allocations: 133.5 kB / 0.7868 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.2925, allocations: 85.11 kB / 0.7869 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.2927, allocations: 133.7 kB / 0.787 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/0.2927, allocations: 29.7 kB / 0.787 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.445e-05/0.2928, allocations: 104 kB / 0.7871 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.2929, allocations: 11.91 kB / 0.7871 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.293, allocations: 49.69 kB / 0.7872 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2931, allocations: 326.8 kB / 0.7875 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.2934, allocations: 123.9 kB / 0.7876 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.2936, allocations: 161 kB / 0.7878 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.2939, allocations: 224.3 kB / 0.788 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2939, allocations: 0 / 0.788 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005797/0.2945, allocations: 385 kB / 0.7884 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.055e-05/0.2945, allocations: 63.39 kB / 0.7884 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.2945, allocations: 4 kB / 0.7884 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.2946, allocations: 3.984 kB / 0.7884 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.318e-05/0.2946, allocations: 4 kB / 0.7884 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2946, allocations: 0 / 0.7884 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004216/0.295, allocations: 79.97 kB / 0.7885 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.2951, allocations: 11.98 kB / 0.7885 GB, free: 7.645 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.000131/0.2952, allocations: 137.7 kB / 0.7886 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.2952, allocations: 11.84 kB / 0.7887 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/0.2953, allocations: 11.91 kB / 0.7887 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.2953, allocations: 0 / 0.7887 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2953, allocations: 4 kB / 0.7887 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2953, allocations: 3.938 kB / 0.7887 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.2955, allocations: 189.6 kB / 0.7889 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2955, allocations: 0 / 0.7889 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.809e-06/0.2955, allocations: 3.984 kB / 0.7889 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2955, allocations: 4 kB / 0.7889 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.2955, allocations: 0 / 0.7889 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2955, allocations: 0 / 0.7889 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2955, allocations: 0 / 0.7889 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.2957, allocations: 149.7 kB / 0.789 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-05/0.2958, allocations: 85.02 kB / 0.7891 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.2958, allocations: 0 / 0.7891 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.144e-05/0.2958, allocations: 4 kB / 0.7891 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.2959, allocations: 7.922 kB / 0.7891 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.2959, allocations: 4 kB / 0.7891 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.039e-05/0.2959, allocations: 99.81 kB / 0.7892 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2959, allocations: 0 / 0.7892 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002606/0.2962, allocations: 43.92 kB / 0.7892 GB, free: 6.793 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001591/0.2964, allocations: 103.6 kB / 0.7893 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004782/0.2969, allocations: 322.6 kB / 0.7896 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2969, allocations: 0 / 0.7896 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.101e-05/0.2969, allocations: 39.91 kB / 0.7897 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.2972, allocations: 20.3 kB / 0.7897 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.2977, allocations: 225 kB / 0.7899 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.2981, allocations: 0.7005 MB / 0.7906 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.223e-05/0.2981, allocations: 11.98 kB / 0.7906 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.2981, allocations: 11.44 kB / 0.7906 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2982, allocations: 0 / 0.7906 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of Templates: time 0.005166/0.3033, allocations: 2.169 MB / 0.7927 GB, free: 3.145 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1)