Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.001421, allocations: 95.67 kB / 16.26 MB, free: 6.418 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.001498/0.001498, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.461/1.461, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.793/1.793, allocations: 292.3 MB / 0.5495 GB, free: 17.45 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.001419/0.001419, allocations: 67.91 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2565, allocations: 114.6 MB / 0.784 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.001953/0.2585, allocations: 0.6148 MB / 0.7846 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.2599, allocations: 1.113 MB / 0.7857 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.776e-05/0.26, allocations: 4 kB / 0.7857 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.623e-05/0.2601, allocations: 3.938 kB / 0.7857 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.612e-05/0.2601, allocations: 11.92 kB / 0.7857 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.2606, allocations: 118.5 kB / 0.7859 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.2608, allocations: 95.83 kB / 0.786 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.233e-05/0.2609, allocations: 8 kB / 0.786 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.951e-05/0.2609, allocations: 35.91 kB / 0.786 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.411e-05/0.261, allocations: 27.95 kB / 0.786 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.261, allocations: 8 kB / 0.786 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.334e-05/0.2611, allocations: 20 kB / 0.786 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.596e-05/0.2612, allocations: 11.92 kB / 0.7861 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.517e-05/0.2613, allocations: 27.92 kB / 0.7861 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.2614, allocations: 91.75 kB / 0.7862 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2614, allocations: 8 kB / 0.7862 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2614, allocations: 0 / 0.7862 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.2614, allocations: 0 / 0.7862 GB, free: 1.668 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004618/0.2619, allocations: 381.4 kB / 0.7865 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.262, allocations: 8.031 kB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.262, allocations: 8.938 kB / 0.7866 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.2622, allocations: 188.2 kB / 0.7867 GB, free: 1 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.2622, allocations: 4.375 kB / 0.7867 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.2623, allocations: 4.375 kB / 0.7867 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.2624, allocations: 54.19 kB / 0.7868 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2624, allocations: 192 / 0.7868 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.2624, allocations: 3.938 kB / 0.7868 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.2624, allocations: 0 / 0.7868 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.093e-05/0.2625, allocations: 15.98 kB / 0.7868 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.2628, allocations: 304.7 kB / 0.7871 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.472e-05/0.2629, allocations: 30.52 kB / 0.7871 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.474e-05/0.2629, allocations: 4.859 kB / 0.7871 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-06/0.2629, allocations: 0 / 0.7871 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.2631, allocations: 63.39 kB / 0.7872 GB, free: 456 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.2631, allocations: 0 / 0.7872 GB, free: 456 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0001787/0.2633, allocations: 61.78 kB / 0.7873 GB, free: 388 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.2633, allocations: 55.41 kB / 0.7873 GB, free: 320 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.179e-05/0.2634, allocations: 109.8 kB / 0.7874 GB, free: 200 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.2634, allocations: 25.7 kB / 0.7874 GB, free: 168 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.2635, allocations: 96.03 kB / 0.7875 GB, free: 68 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.376e-06/0.2635, allocations: 0 / 0.7875 GB, free: 68 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/0.2636, allocations: 29.7 kB / 0.7876 GB, free: 32 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.4242/0.6878, allocations: 322.6 kB / 0.7879 GB, free: 49.17 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.688, allocations: 23.75 kB / 0.7879 GB, free: 49.17 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.667e-05/0.6881, allocations: 49.11 kB / 0.7879 GB, free: 49.15 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.6882, allocations: 84.06 kB / 0.788 GB, free: 49.09 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.6882, allocations: 3.438 kB / 0.788 GB, free: 49.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002791/0.6885, allocations: 145.3 kB / 0.7882 GB, free: 49.03 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.766e-05/0.6885, allocations: 40.8 kB / 0.7882 GB, free: 49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.6886, allocations: 0 / 0.7882 GB, free: 49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.6886, allocations: 2.688 kB / 0.7882 GB, free: 49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.202e-05/0.6886, allocations: 1.312 kB / 0.7882 GB, free: 49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.6886, allocations: 2.781 kB / 0.7882 GB, free: 49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.6889, allocations: 26.31 kB / 0.7882 GB, free: 49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.6889, allocations: 5.422 kB / 0.7882 GB, free: 49 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 8.797e-05/0.689, allocations: 124.9 kB / 0.7884 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.689, allocations: 7.656 kB / 0.7884 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.689, allocations: 3.906 kB / 0.7884 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.6891, allocations: 0 / 0.7884 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.6891, allocations: 6.625 kB / 0.7884 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.6891, allocations: 2.875 kB / 0.7884 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.809e-05/0.6892, allocations: 165.7 kB / 0.7885 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.6892, allocations: 3.188 kB / 0.7885 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.332e-06/0.6892, allocations: 3.234 kB / 0.7885 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.6892, allocations: 0 / 0.7885 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.6892, allocations: 0 / 0.7885 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6892, allocations: 4.484 kB / 0.7885 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6892, allocations: 7.844 kB / 0.7886 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.917e-05/0.6893, allocations: 84.58 kB / 0.7886 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.394e-05/0.6893, allocations: 77.11 kB / 0.7887 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.6894, allocations: 0 / 0.7887 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.401e-05/0.6894, allocations: 3.938 kB / 0.7887 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.6894, allocations: 4.531 kB / 0.7887 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.6894, allocations: 4.359 kB / 0.7887 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.178e-05/0.6895, allocations: 89.06 kB / 0.7888 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6895, allocations: 0 / 0.7888 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000248/0.6897, allocations: 17.03 kB / 0.7888 GB, free: 48.45 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001341/0.6899, allocations: 104.4 kB / 0.7889 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002048/0.6901, allocations: 124.4 kB / 0.789 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.6901, allocations: 0.5938 kB / 0.789 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.172e-05/0.6901, allocations: 11.47 kB / 0.7891 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.6903, allocations: 14.14 kB / 0.7891 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.6907, allocations: 155.5 kB / 0.7892 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.6908, allocations: 0.6774 MB / 0.7899 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.667e-05/0.6908, allocations: 11.75 kB / 0.7899 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of SimCode: time 4.21e-07/0.6908, allocations: 0 / 0.7899 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of Templates: time 0.002493/0.6933, allocations: 0.9118 MB / 0.7908 GB, free: 47.46 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)