Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_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_1.6_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.001582/0.001582, 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.001865/0.001865, allocations: 197.9 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.99/2.99, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 62.64 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3669, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001882/0.3689, allocations: 0.6921 MB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.3702, allocations: 1.127 MB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.648e-05/0.3703, allocations: 0 / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.3704, allocations: 4 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.552e-05/0.3705, allocations: 3.938 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.3709, allocations: 107.2 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.3711, allocations: 163.7 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.3712, allocations: 20 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.114e-05/0.3713, allocations: 67.81 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.3714, allocations: 51.86 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.3715, allocations: 11.94 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.47e-05/0.3716, allocations: 19.98 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.808e-05/0.3716, allocations: 23.97 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.3718, allocations: 67.75 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.372, allocations: 183.8 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.372, allocations: 4 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.52e-07/0.372, allocations: 0 / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.372, allocations: 0 / 1.07 GB, free: 8.336 MB / 0.8262 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.0006168/0.3727, allocations: 450.7 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.3727, allocations: 12.03 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.257e-05/0.3728, allocations: 12.84 kB / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.3731, allocations: 220.2 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.3731, allocations: 8.375 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.3731, allocations: 12.38 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.3734, allocations: 103.8 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.3734, allocations: 192 / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.3734, allocations: 11.94 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.3734, allocations: 0 / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.378e-05/0.3735, allocations: 43.91 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005868/0.3741, allocations: 496.7 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.444e-05/0.3742, allocations: 53.2 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.914e-05/0.3742, allocations: 33.75 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.3742, allocations: 3.938 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/0.3744, allocations: 117.1 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 2.996e-06/0.3744, allocations: 0 / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003042/0.3747, allocations: 141.7 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.3748, allocations: 77.11 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.3749, allocations: 129.8 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.3749, allocations: 33.7 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.098e-05/0.375, allocations: 100 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.3751, allocations: 23.73 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.3752, allocations: 53.69 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3753, allocations: 322.8 kB / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.3755, allocations: 119.9 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.3757, allocations: 169.4 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.376, allocations: 220.4 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.376, allocations: 0 / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005576/0.3766, allocations: 384.7 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.708e-05/0.3767, allocations: 63.41 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3767, allocations: 4 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.3767, allocations: 3.984 kB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.042e-05/0.3767, allocations: 4 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3767, allocations: 3.938 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.3771, allocations: 72.05 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.3772, allocations: 16 kB / 1.073 GB, free: 4.543 MB / 0.8262 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.0001207/0.3773, allocations: 133.8 kB / 1.073 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.3773, allocations: 7.906 kB / 1.073 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.3773, allocations: 11.91 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3774, allocations: 0 / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3774, allocations: 0 / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3774, allocations: 3.938 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.3775, allocations: 185.6 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3775, allocations: 4 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.277e-06/0.3775, allocations: 4 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.3776, allocations: 0 / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.3776, allocations: 7.922 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3776, allocations: 3.938 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3776, allocations: 4 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.3778, allocations: 141.7 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.3778, allocations: 77.11 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.3778, allocations: 8 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.187e-05/0.3779, allocations: 4 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.3779, allocations: 7.922 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.3779, allocations: 4 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.663e-05/0.378, allocations: 99.27 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.378, allocations: 0 / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002454/0.3782, allocations: 39.84 kB / 1.074 GB, free: 3.703 MB / 0.8262 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.0001676/0.3784, allocations: 111.2 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004302/0.3788, allocations: 330.5 kB / 1.074 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3788, allocations: 0 / 1.074 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.578e-05/0.3789, allocations: 27.98 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.3792, allocations: 23.16 kB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004312/0.3796, allocations: 233.3 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.3799, allocations: 0.7004 MB / 1.075 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.856e-05/0.3799, allocations: 11.77 kB / 1.075 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.823e-05/0.3799, allocations: 11.44 kB / 1.075 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.38, allocations: 4 kB / 1.075 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of Templates: time 0.005037/0.385, allocations: 2.163 MB / 1.078 GB, free: 40 kB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1)