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.001216/0.001216, allocations: 102.6 kB / 16.35 MB, free: 6.352 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.001363/0.001363, allocations: 194.2 kB / 17.29 MB, free: 5.93 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.414/1.414, allocations: 205.1 MB / 223.2 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 1.88/1.88, allocations: 292.3 MB / 0.5496 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.001423/0.001423, allocations: 79.88 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.227, allocations: 114.5 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.001906/0.229, allocations: 0.6228 MB / 0.7854 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.2303, allocations: 1.113 MB / 0.7865 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.276e-05/0.2304, allocations: 0 / 0.7865 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.473e-05/0.2305, allocations: 3.938 kB / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.416e-05/0.2305, allocations: 11.92 kB / 0.7865 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004641/0.231, allocations: 114.8 kB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.2312, allocations: 103.8 kB / 0.7867 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.2312, allocations: 0 / 0.7867 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.406e-05/0.2313, allocations: 39.91 kB / 0.7867 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.2314, allocations: 27.95 kB / 0.7868 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.2314, allocations: 12 kB / 0.7868 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.585e-05/0.2315, allocations: 23.92 kB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.445e-05/0.2316, allocations: 11.98 kB / 0.7868 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.564e-05/0.2317, allocations: 27.92 kB / 0.7868 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.2318, allocations: 91.77 kB / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2318, allocations: 0 / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.805e-06/0.2319, allocations: 3.938 kB / 0.7869 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.2319, allocations: 3.938 kB / 0.7869 GB, free: 0.9375 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.000479/0.2324, allocations: 381.1 kB / 0.7873 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.2324, allocations: 8.031 kB / 0.7873 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.2324, allocations: 12.88 kB / 0.7873 GB, free: 500 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.2326, allocations: 184.3 kB / 0.7875 GB, free: 276 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.2327, allocations: 4.375 kB / 0.7875 GB, free: 272 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.2327, allocations: 8.375 kB / 0.7875 GB, free: 264 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.2328, allocations: 42.25 kB / 0.7875 GB, free: 216 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.2328, allocations: 192 / 0.7875 GB, free: 216 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.2328, allocations: 3.938 kB / 0.7875 GB, free: 212 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2328, allocations: 0 / 0.7875 GB, free: 212 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.373e-05/0.2329, allocations: 15.98 kB / 0.7876 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4332/0.666, allocations: 305.6 kB / 0.7879 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.636e-05/0.6661, allocations: 22.56 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.602e-05/0.6662, allocations: 8.844 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.6662, allocations: 0.5312 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.6664, allocations: 58.77 kB / 0.7879 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.374e-06/0.6664, allocations: 0.8438 kB / 0.7879 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0001879/0.6666, allocations: 63.44 kB / 0.788 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.6666, allocations: 54.78 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.606e-05/0.6667, allocations: 112 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.6667, allocations: 29.11 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.6667, allocations: 93.92 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.657e-06/0.6668, allocations: 1.719 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.339e-05/0.6668, allocations: 35.44 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.381e-05/0.6669, allocations: 314.9 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.119e-05/0.667, allocations: 27.27 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.04e-05/0.667, allocations: 49.77 kB / 0.7887 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.434e-05/0.6671, allocations: 86.48 kB / 0.7888 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6671, allocations: 0 / 0.7888 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002067/0.6674, allocations: 147.8 kB / 0.7889 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.6674, allocations: 36.17 kB / 0.7889 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.6674, allocations: 0 / 0.7889 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.6674, allocations: 4.016 kB / 0.789 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.788e-05/0.6674, allocations: 4.188 kB / 0.789 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.6675, allocations: 1.125 kB / 0.789 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.6676, allocations: 27.2 kB / 0.789 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.6677, allocations: 11.66 kB / 0.789 GB, free: 47.87 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 5.863e-05/0.6677, allocations: 120 kB / 0.7891 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.6677, allocations: 10.72 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.156e-05/0.6678, allocations: 8.062 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.6678, allocations: 1.969 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6678, allocations: 2.969 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.6678, allocations: 0.5938 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.293e-05/0.6679, allocations: 164.7 kB / 0.7893 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.6679, allocations: 0.5312 kB / 0.7893 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-06/0.6679, allocations: 5.094 kB / 0.7893 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.6679, allocations: 0 / 0.7893 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.6679, allocations: 1.25 kB / 0.7893 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.6679, allocations: 2.719 kB / 0.7893 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6679, allocations: 3.031 kB / 0.7893 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.501e-05/0.668, allocations: 84.31 kB / 0.7894 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.668, allocations: 83.89 kB / 0.7895 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.668, allocations: 0 / 0.7895 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.453e-05/0.6681, allocations: 3.094 kB / 0.7895 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.6681, allocations: 2.938 kB / 0.7895 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.6681, allocations: 2.594 kB / 0.7895 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.379e-05/0.6681, allocations: 90.16 kB / 0.7896 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6681, allocations: 0 / 0.7896 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002198/0.6684, allocations: 19.31 kB / 0.7896 GB, free: 47.32 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.0001069/0.6685, allocations: 101.1 kB / 0.7897 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001722/0.6687, allocations: 121.8 kB / 0.7898 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6687, allocations: 3.031 kB / 0.7898 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.329e-05/0.6687, allocations: 13.69 kB / 0.7898 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.6689, allocations: 14.33 kB / 0.7898 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.6691, allocations: 129.1 kB / 0.7899 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.838e-05/0.6693, allocations: 0.6804 MB / 0.7906 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.741e-05/0.6693, allocations: 3.531 kB / 0.7906 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.379e-05/0.6693, allocations: 10.41 kB / 0.7906 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of SimCode: time 3.7e-07/0.6693, allocations: 0.625 kB / 0.7906 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of Templates: time 0.002872/0.6722, allocations: 1.044 MB / 0.7916 GB, free: 46.34 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)