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.001375/0.001376, allocations: 106.6 kB / 16.29 MB, free: 6.43 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.001179/0.001179, allocations: 184 kB / 17.22 MB, free: 5.934 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.568/1.568, allocations: 205.1 MB / 223.1 MB, free: 12.3 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 2.065/2.065, allocations: 292.3 MB / 0.5495 GB, free: 17.56 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.00159/0.00159, allocations: 71.91 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3122, allocations: 114.5 MB / 0.7841 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002519/0.3148, allocations: 0.6227 MB / 0.7847 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001846/0.3167, allocations: 1.113 MB / 0.7858 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.318e-05/0.3168, allocations: 4 kB / 0.7858 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.3169, allocations: 3.938 kB / 0.7858 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.317, allocations: 3.938 kB / 0.7858 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/0.3175, allocations: 131.6 kB / 0.7859 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000314/0.3179, allocations: 199.7 kB / 0.7861 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.318, allocations: 15.98 kB / 0.7861 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.901e-05/0.3181, allocations: 79.83 kB / 0.7862 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.3183, allocations: 71.78 kB / 0.7863 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.493e-05/0.3183, allocations: 16 kB / 0.7863 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.888e-05/0.3185, allocations: 27.98 kB / 0.7863 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.828e-05/0.3185, allocations: 23.97 kB / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.3186, allocations: 67.77 kB / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.3189, allocations: 203.8 kB / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3189, allocations: 0 / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3189, allocations: 0 / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.3189, allocations: 0 / 0.7866 GB, free: 1.293 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006916/0.3196, allocations: 458.6 kB / 0.787 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.3197, allocations: 12.03 kB / 0.787 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.163e-05/0.3197, allocations: 12.84 kB / 0.7871 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.32, allocations: 216.2 kB / 0.7873 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.32, allocations: 4.375 kB / 0.7873 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.3201, allocations: 16.38 kB / 0.7873 GB, free: 500 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.3203, allocations: 95.86 kB / 0.7874 GB, free: 392 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3203, allocations: 8.125 kB / 0.7874 GB, free: 384 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.3203, allocations: 11.94 kB / 0.7874 GB, free: 372 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.3203, allocations: 4 kB / 0.7874 GB, free: 368 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.63e-05/0.3204, allocations: 43.95 kB / 0.7874 GB, free: 324 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5737/0.8941, allocations: 491.4 kB / 0.7879 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.548e-05/0.8942, allocations: 49.52 kB / 0.7879 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.764e-05/0.8943, allocations: 33.91 kB / 0.788 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.8943, allocations: 0.6875 kB / 0.788 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.8945, allocations: 116 kB / 0.7881 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 2.063e-06/0.8945, allocations: 0 / 0.7881 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0003068/0.8948, allocations: 133.6 kB / 0.7882 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.8949, allocations: 79.73 kB / 0.7883 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.382e-05/0.895, allocations: 139.7 kB / 0.7884 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.895, allocations: 34.48 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.357e-05/0.8951, allocations: 98.47 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.8951, allocations: 12.47 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.8952, allocations: 54.25 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.378e-05/0.8953, allocations: 319.5 kB / 0.7889 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.8955, allocations: 121.8 kB / 0.789 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.8957, allocations: 161.7 kB / 0.7892 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.8959, allocations: 224.5 kB / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.8959, allocations: 0.5938 kB / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005068/0.8964, allocations: 387.2 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.948e-05/0.8965, allocations: 66.95 kB / 0.7898 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.8965, allocations: 0 / 0.7898 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.8965, allocations: 2.625 kB / 0.7898 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.407e-05/0.8966, allocations: 2.625 kB / 0.7898 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.8966, allocations: 11.98 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.8969, allocations: 67.62 kB / 0.7899 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.897, allocations: 11.11 kB / 0.7899 GB, free: 47.4 MB / 0.6544 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.0001111/0.8971, allocations: 139.8 kB / 0.7901 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.8971, allocations: 7.406 kB / 0.7901 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.8972, allocations: 14.03 kB / 0.7901 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.8972, allocations: 1.312 kB / 0.7901 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.8972, allocations: 1.438 kB / 0.7901 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.8972, allocations: 0 / 0.7901 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.8973, allocations: 189.6 kB / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.8973, allocations: 0 / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.438e-06/0.8973, allocations: 2.75 kB / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.8973, allocations: 5.969 kB / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.8974, allocations: 1.812 kB / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.8974, allocations: 3.719 kB / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8974, allocations: 1.688 kB / 0.7903 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.8975, allocations: 132.2 kB / 0.7904 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.8976, allocations: 90.03 kB / 0.7905 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.8976, allocations: 5.906 kB / 0.7905 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.091e-05/0.8976, allocations: 3 kB / 0.7905 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.8977, allocations: 7.453 kB / 0.7905 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.8977, allocations: 6 kB / 0.7905 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.399e-05/0.8978, allocations: 101.3 kB / 0.7906 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8978, allocations: 1.344 kB / 0.7906 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002532/0.898, allocations: 35.36 kB / 0.7907 GB, free: 46.84 MB / 0.6544 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.0001846/0.8982, allocations: 108.3 kB / 0.7908 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004227/0.8986, allocations: 327.8 kB / 0.7911 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.8987, allocations: 0.9062 kB / 0.7911 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.499e-05/0.8987, allocations: 37.55 kB / 0.7911 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.899, allocations: 25.73 kB / 0.7911 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.8994, allocations: 205.2 kB / 0.7913 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.8996, allocations: 0.704 MB / 0.792 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.954e-05/0.8996, allocations: 11.78 kB / 0.792 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.8997, allocations: 10 kB / 0.792 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.8997, allocations: 0.7812 kB / 0.792 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.004577/0.9042, allocations: 2.256 MB / 0.7942 GB, free: 45.71 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1)