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.001591/0.001591, 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.001656/0.001657, 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.602/1.602, 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.01/2.01, allocations: 292.3 MB / 0.5495 GB, free: 17.66 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.002401/0.002401, allocations: 59.91 kB / 0.6722 GB, free: 6.555 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3371, allocations: 114.6 MB / 0.7841 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.002531/0.3397, allocations: 0.6198 MB / 0.7847 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001809/0.3415, allocations: 1.11 MB / 0.7858 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.3416, allocations: 0 / 0.7858 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.3418, allocations: 7.938 kB / 0.7858 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.7e-05/0.3418, allocations: 7.969 kB / 0.7858 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006218/0.3425, allocations: 131.2 kB / 0.7859 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.3427, allocations: 87.83 kB / 0.786 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.3428, allocations: 8 kB / 0.786 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.925e-05/0.3429, allocations: 39.95 kB / 0.786 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.343, allocations: 31.89 kB / 0.7861 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.121e-05/0.3431, allocations: 8 kB / 0.7861 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.797e-05/0.3432, allocations: 23.98 kB / 0.7861 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.938e-05/0.3433, allocations: 7.938 kB / 0.7861 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.621e-05/0.3433, allocations: 31.91 kB / 0.7861 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.3436, allocations: 91.77 kB / 0.7862 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3436, allocations: 0 / 0.7862 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3436, allocations: 0 / 0.7862 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3436, 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.0005701/0.3442, allocations: 385.4 kB / 0.7866 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.3442, allocations: 8.031 kB / 0.7866 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.266e-05/0.3443, allocations: 12.88 kB / 0.7866 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.3445, allocations: 184.2 kB / 0.7868 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.3446, allocations: 4.375 kB / 0.7868 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.3446, allocations: 4.375 kB / 0.7868 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.3447, allocations: 46.25 kB / 0.7868 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.3447, allocations: 4.172 kB / 0.7869 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.3447, allocations: 11.88 kB / 0.7869 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3448, allocations: 4 kB / 0.7869 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.751e-05/0.3448, allocations: 11.98 kB / 0.7869 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.3452, allocations: 304.7 kB / 0.7872 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.137e-05/0.3453, allocations: 22.58 kB / 0.7872 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.937e-05/0.3453, allocations: 4.859 kB / 0.7872 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.3454, allocations: 0 / 0.7872 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.3455, allocations: 67.39 kB / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.3456, allocations: 0 / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0002151/0.3458, allocations: 61.59 kB / 0.7873 GB, free: 384 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.3458, allocations: 59.39 kB / 0.7874 GB, free: 312 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.3459, allocations: 101.9 kB / 0.7875 GB, free: 200 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.346, allocations: 29.69 kB / 0.7875 GB, free: 164 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/0.346, allocations: 92.05 kB / 0.7876 GB, free: 68 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.185e-05/0.3461, allocations: 7.984 kB / 0.7876 GB, free: 60 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.86e-05/0.3462, allocations: 29.7 kB / 0.7876 GB, free: 24 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.5309/0.8771, allocations: 322.6 kB / 0.7879 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.8774, allocations: 23.36 kB / 0.788 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.8775, allocations: 50.88 kB / 0.788 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.8777, allocations: 82.36 kB / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.8777, allocations: 0 / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003616/0.8781, allocations: 147.5 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.826e-05/0.8781, allocations: 38.38 kB / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.8782, allocations: 2.938 kB / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.421e-05/0.8782, allocations: 1.312 kB / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.128e-05/0.8783, allocations: 0 / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.8783, allocations: 3.906 kB / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.8786, allocations: 25.19 kB / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.8786, allocations: 8.859 kB / 0.7883 GB, free: 48.43 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 0.0001564/0.8788, allocations: 122.5 kB / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.8788, allocations: 3.438 kB / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.17e-05/0.8788, allocations: 10.84 kB / 0.7884 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.8789, allocations: 3.234 kB / 0.7884 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.8789, allocations: 3.938 kB / 0.7884 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.8789, allocations: 0 / 0.7884 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.8791, allocations: 160.9 kB / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.8791, allocations: 7.828 kB / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.392e-06/0.8791, allocations: 0 / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.8791, allocations: 0 / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.8791, allocations: 2.938 kB / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.8791, allocations: 1 kB / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.8791, allocations: 5.109 kB / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.8793, allocations: 85.28 kB / 0.7887 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/0.8793, allocations: 77.67 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.8793, allocations: 2.688 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.612e-05/0.8793, allocations: 4.531 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.8794, allocations: 7.125 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.8794, allocations: 3.406 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.372e-05/0.8795, allocations: 84.72 kB / 0.7889 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8795, allocations: 1.969 kB / 0.7889 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002628/0.8797, allocations: 23.28 kB / 0.7889 GB, free: 47.88 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.0002453/0.88, allocations: 101.9 kB / 0.789 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002715/0.8803, allocations: 123 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.8803, allocations: 2.906 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.379e-05/0.8803, allocations: 10.66 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.8806, allocations: 9.078 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/0.8811, allocations: 126.1 kB / 0.7892 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.8813, allocations: 0.6802 MB / 0.7899 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.308e-05/0.8814, allocations: 2.625 kB / 0.7899 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.214e-05/0.8814, allocations: 10.06 kB / 0.7899 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of SimCode: time 6.31e-07/0.8814, allocations: 0 / 0.7899 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of Templates: time 0.004537/0.8859, allocations: 1.044 MB / 0.7909 GB, free: 46.92 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)