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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.152/2.152, allocations: 292.3 MB / 308.1 MB, free: 4.301 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.001534/0.001534, allocations: 188.4 kB / 376.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.055/2.055, allocations: 205 MB / 0.6353 GB, free: 9.812 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001272/0.001272, allocations: 96.81 kB / 0.748 GB, free: 61.28 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 59.91 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2517, allocations: 114.6 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002104/0.2539, allocations: 0.6921 MB / 0.9829 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.2556, allocations: 1.121 MB / 0.984 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.023e-05/0.2557, allocations: 0 / 0.984 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.815e-05/0.2558, allocations: 0 / 0.984 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.03e-05/0.2559, allocations: 15.92 kB / 0.984 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.2563, allocations: 103.8 kB / 0.9841 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.2566, allocations: 167.7 kB / 0.9843 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.2567, allocations: 20 kB / 0.9843 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.2568, allocations: 59.83 kB / 0.9844 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.257, allocations: 51.86 kB / 0.9844 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.387e-05/0.257, allocations: 8 kB / 0.9844 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.701e-05/0.2571, allocations: 23.98 kB / 0.9844 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.549e-05/0.2572, allocations: 27.91 kB / 0.9845 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.2573, allocations: 55.83 kB / 0.9845 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.2576, allocations: 187.8 kB / 0.9847 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2576, allocations: 7.984 kB / 0.9847 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2576, allocations: 0 / 0.9847 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.2576, allocations: 0 / 0.9847 GB, free: 7.859 MB / 0.7136 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.0007297/0.2584, allocations: 450.7 kB / 0.9851 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.2584, allocations: 12.03 kB / 0.9851 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.304e-05/0.2585, allocations: 12.84 kB / 0.9852 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.2588, allocations: 224.1 kB / 0.9854 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.2588, allocations: 4.375 kB / 0.9854 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.2589, allocations: 16.38 kB / 0.9854 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.2591, allocations: 99.92 kB / 0.9855 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.2591, allocations: 192 / 0.9855 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.2591, allocations: 7.922 kB / 0.9855 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.2591, allocations: 8 kB / 0.9855 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.284e-05/0.2592, allocations: 43.91 kB / 0.9855 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005994/0.2598, allocations: 496.8 kB / 0.986 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.904e-05/0.2599, allocations: 53.14 kB / 0.9861 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.082e-05/0.2599, allocations: 29.77 kB / 0.9861 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.26, allocations: 7.922 kB / 0.9861 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.2601, allocations: 109.1 kB / 0.9862 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.2601, allocations: 0 / 0.9862 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002764/0.2604, allocations: 137.8 kB / 0.9863 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.2605, allocations: 77.11 kB / 0.9864 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.2606, allocations: 137.7 kB / 0.9865 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.2606, allocations: 33.7 kB / 0.9866 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.103e-05/0.2607, allocations: 112 kB / 0.9867 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.2607, allocations: 7.906 kB / 0.9867 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.2608, allocations: 57.69 kB / 0.9867 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.261, allocations: 318.8 kB / 0.987 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.2612, allocations: 123.9 kB / 0.9872 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.2614, allocations: 165 kB / 0.9873 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.2617, allocations: 224.4 kB / 0.9875 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2617, allocations: 3.938 kB / 0.9875 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006007/0.2623, allocations: 384.7 kB / 0.9879 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.603e-05/0.2624, allocations: 59.41 kB / 0.988 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.2624, allocations: 4 kB / 0.988 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.2624, allocations: 0 / 0.988 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.153e-05/0.2624, allocations: 11.98 kB / 0.988 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.2625, allocations: 3.938 kB / 0.988 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004162/0.2629, allocations: 67.8 kB / 0.988 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.2629, allocations: 16.11 kB / 0.9881 GB, free: 4.066 MB / 0.7136 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.0001399/0.2631, allocations: 135.7 kB / 0.9882 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.2631, allocations: 11.89 kB / 0.9882 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.693e-05/0.2632, allocations: 7.906 kB / 0.9882 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2632, allocations: 0 / 0.9882 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2632, allocations: 0 / 0.9882 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.2632, allocations: 3.938 kB / 0.9882 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.2634, allocations: 189.6 kB / 0.9884 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2634, allocations: 0 / 0.9884 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.826e-06/0.2634, allocations: 4 kB / 0.9884 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2634, allocations: 4 kB / 0.9884 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.2634, allocations: 3.984 kB / 0.9884 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.2634, allocations: 4 kB / 0.9884 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.2634, allocations: 8.016 kB / 0.9884 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005318/0.264, allocations: 0.7106 MB / 0.9891 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.264, allocations: 85.02 kB / 0.9892 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.2641, allocations: 11.92 kB / 0.9892 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.06e-05/0.2641, allocations: 0 / 0.9892 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.2641, allocations: 7.938 kB / 0.9892 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.2642, allocations: 7.984 kB / 0.9892 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.815e-05/0.2643, allocations: 99.27 kB / 0.9893 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2643, allocations: 0 / 0.9893 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003822/0.2647, allocations: 35.94 kB / 0.9894 GB, free: 2.602 MB / 0.7136 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.0002427/0.2649, allocations: 111.2 kB / 0.9895 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006023/0.2655, allocations: 330.5 kB / 0.9898 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2655, allocations: 0 / 0.9898 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.286e-05/0.2656, allocations: 31.92 kB / 0.9898 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.2659, allocations: 23.3 kB / 0.9898 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006385/0.2666, allocations: 340.2 kB / 0.9901 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.267, allocations: 0.7043 MB / 0.9908 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.062e-05/0.267, allocations: 15.98 kB / 0.9909 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.267, allocations: 7.438 kB / 0.9909 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of SimCode: time 6.22e-07/0.2671, allocations: 4 kB / 0.9909 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of Templates: time 0.00591/0.273, allocations: 2.238 MB / 0.993 GB, free: 14.74 MB / 0.7292 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)