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.001547/0.001547, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002073/0.002073, allocations: 191.7 kB / 16.25 MB, free: 6.621 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.671/1.671, allocations: 205.1 MB / 222.1 MB, free: 4.633 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.913/1.913, allocations: 292.2 MB / 0.5485 GB, free: 13.67 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.001357/0.001357, allocations: 70.06 kB / 0.671 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2929, allocations: 114.5 MB / 0.7829 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002808/0.2958, allocations: 0.6843 MB / 0.7835 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001982/0.2978, allocations: 1.115 MB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.522e-05/0.2979, allocations: 0 / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.2981, allocations: 4 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.2982, allocations: 3.938 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006317/0.2988, allocations: 119 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003313/0.2992, allocations: 187.8 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.2993, allocations: 19.97 kB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.2995, allocations: 83.84 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.2997, allocations: 63.78 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.838e-05/0.2997, allocations: 16 kB / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.2998, allocations: 27.98 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.219e-05/0.2999, allocations: 19.98 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.3001, allocations: 71.75 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003518/0.3004, allocations: 199.8 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.3005, allocations: 4 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3005, allocations: 0 / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.3005, allocations: 0 / 0.7854 GB, free: 11.3 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.0008259/0.3013, allocations: 457.1 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.3014, allocations: 8.031 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.71e-05/0.3015, allocations: 12.84 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.3018, allocations: 224.1 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.3019, allocations: 8.359 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.028e-05/0.3019, allocations: 12.38 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.3022, allocations: 103.9 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3022, allocations: 192 / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.3022, allocations: 7.938 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3023, allocations: 4 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.3024, allocations: 43.91 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008258/0.3032, allocations: 488.8 kB / 0.7867 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.3033, allocations: 61.19 kB / 0.7868 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.967e-05/0.3034, allocations: 29.77 kB / 0.7868 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.3034, allocations: 11.92 kB / 0.7868 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002975/0.3038, allocations: 117 kB / 0.7869 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.3038, allocations: 0 / 0.7869 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0005439/0.3043, allocations: 129.5 kB / 0.787 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.3044, allocations: 85.11 kB / 0.7871 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.3047, allocations: 129.8 kB / 0.7873 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.761e-05/0.3048, allocations: 37.69 kB / 0.7873 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.3049, allocations: 103.9 kB / 0.7874 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.3049, allocations: 7.906 kB / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.3051, allocations: 57.67 kB / 0.7874 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002478/0.3054, allocations: 326.8 kB / 0.7878 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.3058, allocations: 119.9 kB / 0.7879 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/0.3061, allocations: 165 kB / 0.788 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.3065, allocations: 220.4 kB / 0.7882 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3065, allocations: 0 / 0.7882 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0008688/0.3074, allocations: 380.6 kB / 0.7886 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.592e-05/0.3075, allocations: 67.39 kB / 0.7887 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3075, allocations: 0 / 0.7887 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.3076, allocations: 4.188 kB / 0.7887 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.943e-05/0.3076, allocations: 8 kB / 0.7887 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3076, allocations: 3.938 kB / 0.7887 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005789/0.3082, allocations: 67.78 kB / 0.7888 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.359e-05/0.3083, allocations: 19.98 kB / 0.7888 GB, free: 7.512 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.0001615/0.3084, allocations: 129.8 kB / 0.7889 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.3085, allocations: 11.91 kB / 0.7889 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.92e-05/0.3085, allocations: 7.906 kB / 0.7889 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3085, allocations: 4 kB / 0.7889 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3086, allocations: 0 / 0.7889 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3086, allocations: 3.938 kB / 0.7889 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.3088, allocations: 189.6 kB / 0.7891 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3088, allocations: 3.938 kB / 0.7891 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-05/0.3088, allocations: 4 kB / 0.7891 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3088, allocations: 3.938 kB / 0.7891 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.3089, allocations: 4 kB / 0.7891 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3089, allocations: 0 / 0.7891 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3089, allocations: 4 kB / 0.7891 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.3091, allocations: 142.1 kB / 0.7893 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.3092, allocations: 85.09 kB / 0.7893 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.3092, allocations: 4 kB / 0.7893 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.509e-05/0.3093, allocations: 0 / 0.7893 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.3093, allocations: 11.92 kB / 0.7894 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.3093, allocations: 8 kB / 0.7894 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.912e-05/0.3094, allocations: 99.27 kB / 0.7895 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3094, allocations: 0 / 0.7895 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004471/0.3099, allocations: 43.83 kB / 0.7895 GB, free: 6.66 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.0001718/0.3101, allocations: 99.25 kB / 0.7896 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006313/0.3107, allocations: 330.5 kB / 0.7899 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3107, allocations: 384 / 0.7899 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.598e-05/0.3108, allocations: 39.97 kB / 0.7899 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.3112, allocations: 16.05 kB / 0.79 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005319/0.3118, allocations: 235.2 kB / 0.7902 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.3121, allocations: 0.7029 MB / 0.7909 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.545e-05/0.3121, allocations: 4 kB / 0.7909 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.3122, allocations: 15.44 kB / 0.7909 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.3122, allocations: 0 / 0.7909 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of Templates: time 0.006693/0.3189, allocations: 2.242 MB / 0.7931 GB, free: 2.93 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)