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.001155/0.001155, allocations: 103.8 kB / 16.27 MB, free: 5.984 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.001092/0.001092, allocations: 191.2 kB / 17.2 MB, free: 5.609 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.392/1.392, allocations: 205.1 MB / 223.1 MB, free: 12.29 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 1.789/1.789, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001544/0.001544, allocations: 79.02 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2313, allocations: 114.6 MB / 0.784 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002055/0.2334, allocations: 0.6121 MB / 0.7846 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.235, allocations: 1.113 MB / 0.7857 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.87e-05/0.2351, allocations: 3.938 kB / 0.7857 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.2352, allocations: 3.984 kB / 0.7857 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.37e-05/0.2353, allocations: 11.92 kB / 0.7858 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004687/0.2358, allocations: 126.6 kB / 0.7859 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.2361, allocations: 195.7 kB / 0.7861 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.2362, allocations: 11.98 kB / 0.7861 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.2363, allocations: 83.88 kB / 0.7861 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.2364, allocations: 55.81 kB / 0.7862 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.457e-05/0.2365, allocations: 20 kB / 0.7862 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.2366, allocations: 27.98 kB / 0.7862 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.442e-05/0.2367, allocations: 19.98 kB / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.2368, allocations: 75.75 kB / 0.7863 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.2371, allocations: 195.8 kB / 0.7865 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2371, allocations: 0 / 0.7865 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2371, allocations: 4 kB / 0.7865 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.2372, allocations: 0 / 0.7865 GB, free: 1.305 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.0006975/0.2379, allocations: 446.7 kB / 0.787 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2379, allocations: 8.031 kB / 0.787 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.319e-05/0.238, allocations: 20.83 kB / 0.787 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.2383, allocations: 220.2 kB / 0.7872 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.2383, allocations: 8.375 kB / 0.7872 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.068e-05/0.2383, allocations: 12.31 kB / 0.7872 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.2386, allocations: 99.92 kB / 0.7873 GB, free: 404 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2386, allocations: 4.172 kB / 0.7873 GB, free: 400 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.2386, allocations: 7.875 kB / 0.7873 GB, free: 392 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.2386, allocations: 3.938 kB / 0.7873 GB, free: 388 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.175e-05/0.2387, allocations: 43.97 kB / 0.7874 GB, free: 344 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3721/0.6108, allocations: 492.7 kB / 0.7878 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.611, allocations: 52.62 kB / 0.7879 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.043e-05/0.611, allocations: 32.8 kB / 0.7879 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-06/0.611, allocations: 6.5 kB / 0.7879 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.6112, allocations: 109.3 kB / 0.788 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.6112, allocations: 0 / 0.788 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0002815/0.6115, allocations: 134.7 kB / 0.7882 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.6115, allocations: 82.53 kB / 0.7882 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.631e-05/0.6116, allocations: 138.1 kB / 0.7884 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.6117, allocations: 32.08 kB / 0.7884 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.6117, allocations: 99.2 kB / 0.7885 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.6117, allocations: 14.31 kB / 0.7885 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.802e-05/0.6118, allocations: 49.42 kB / 0.7886 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.504e-05/0.6119, allocations: 318.6 kB / 0.7889 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.6121, allocations: 124.9 kB / 0.789 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.6123, allocations: 165.5 kB / 0.7891 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.6125, allocations: 220.5 kB / 0.7893 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6125, allocations: 2.594 kB / 0.7893 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004581/0.613, allocations: 380.7 kB / 0.7897 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.2e-05/0.613, allocations: 65.38 kB / 0.7898 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.613, allocations: 3.375 kB / 0.7898 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.6131, allocations: 2.625 kB / 0.7898 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.405e-05/0.6131, allocations: 9.031 kB / 0.7898 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.6131, allocations: 2.625 kB / 0.7898 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003903/0.6135, allocations: 67.38 kB / 0.7899 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.6135, allocations: 19.02 kB / 0.7899 GB, free: 47.28 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 9.419e-05/0.6136, allocations: 133.7 kB / 0.79 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.6137, allocations: 12.69 kB / 0.79 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.053e-05/0.6137, allocations: 16.08 kB / 0.79 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.6137, allocations: 4.344 kB / 0.79 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6137, allocations: 0.6562 kB / 0.79 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.6137, allocations: 0 / 0.79 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.6138, allocations: 193.8 kB / 0.7902 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.6138, allocations: 0 / 0.7902 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-06/0.6139, allocations: 2.281 kB / 0.7902 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.6139, allocations: 2.188 kB / 0.7902 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.6139, allocations: 5.766 kB / 0.7902 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.6139, allocations: 1.875 kB / 0.7902 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6139, allocations: 1.438 kB / 0.7902 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.614, allocations: 135.3 kB / 0.7904 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.6141, allocations: 85.44 kB / 0.7904 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.6141, allocations: 2.5 kB / 0.7904 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.059e-05/0.6141, allocations: 0.5 kB / 0.7904 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.6141, allocations: 12.52 kB / 0.7905 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.6141, allocations: 4.188 kB / 0.7905 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.36e-05/0.6142, allocations: 105.9 kB / 0.7906 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6142, allocations: 1.969 kB / 0.7906 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002523/0.6145, allocations: 32.17 kB / 0.7906 GB, free: 46.71 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.0001322/0.6146, allocations: 108.2 kB / 0.7907 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003572/0.615, allocations: 327.3 kB / 0.791 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.615, allocations: 0.5 kB / 0.791 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.909e-05/0.615, allocations: 45.64 kB / 0.7911 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.6153, allocations: 24.06 kB / 0.7911 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.6156, allocations: 235.8 kB / 0.7913 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.6157, allocations: 0.6975 MB / 0.792 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.6158, allocations: 13.25 kB / 0.792 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.6158, allocations: 1.375 kB / 0.792 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of Templates: time 0.002971/0.6188, allocations: 1.77 MB / 0.7937 GB, free: 45.57 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1)