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.001214/0.001214, allocations: 114 kB / 16.37 MB, free: 6.012 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.001194/0.001194, allocations: 192.1 kB / 17.31 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.342/1.342, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.849/1.849, allocations: 292.3 MB / 0.5496 GB, free: 17.6 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.001609/0.001609, allocations: 67.89 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2389, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.002154/0.2411, allocations: 0.6233 MB / 0.7854 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.243, allocations: 1.121 MB / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.82e-05/0.2431, allocations: 0 / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.2432, allocations: 0 / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.846e-05/0.2432, allocations: 7.922 kB / 0.7865 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006407/0.2439, allocations: 130.6 kB / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.2441, allocations: 87.89 kB / 0.7867 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.2442, allocations: 8 kB / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.476e-05/0.2443, allocations: 39.89 kB / 0.7868 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.2444, allocations: 31.91 kB / 0.7868 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.2445, allocations: 11.94 kB / 0.7868 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.391e-05/0.2446, allocations: 19.98 kB / 0.7868 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.761e-05/0.2446, allocations: 11.98 kB / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.48e-05/0.2447, allocations: 31.91 kB / 0.7869 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.2449, allocations: 87.78 kB / 0.787 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2449, allocations: 0 / 0.787 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.525e-06/0.2449, allocations: 0 / 0.787 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.245, allocations: 0 / 0.787 GB, free: 0.9648 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.0005625/0.2455, allocations: 389 kB / 0.7873 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.2456, allocations: 12.03 kB / 0.7873 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.2456, allocations: 8.938 kB / 0.7873 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.2459, allocations: 184.2 kB / 0.7875 GB, free: 296 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.2459, allocations: 4.375 kB / 0.7875 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.2459, allocations: 4.375 kB / 0.7875 GB, free: 288 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.246, allocations: 46.19 kB / 0.7876 GB, free: 236 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.2461, allocations: 192 / 0.7876 GB, free: 236 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.2461, allocations: 11.94 kB / 0.7876 GB, free: 224 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2461, allocations: 4 kB / 0.7876 GB, free: 220 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.12e-05/0.2461, allocations: 4 kB / 0.7876 GB, free: 216 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.485/0.7312, allocations: 303.9 kB / 0.7879 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.647e-05/0.7313, allocations: 22.98 kB / 0.7879 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.7313, allocations: 8.016 kB / 0.7879 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.7314, allocations: 0.9062 kB / 0.7879 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001967/0.7316, allocations: 57.22 kB / 0.788 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.735e-06/0.7316, allocations: 3.969 kB / 0.788 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0002158/0.7318, allocations: 69.84 kB / 0.788 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.7318, allocations: 51.41 kB / 0.7881 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.265e-05/0.7319, allocations: 108.8 kB / 0.7882 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.7319, allocations: 28.8 kB / 0.7882 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.732, allocations: 89.61 kB / 0.7883 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.732, allocations: 9.281 kB / 0.7883 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.577e-05/0.7321, allocations: 28.11 kB / 0.7883 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.7322, allocations: 319.7 kB / 0.7886 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.933e-05/0.7322, allocations: 29.66 kB / 0.7887 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.478e-05/0.7323, allocations: 49.31 kB / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.159e-05/0.7324, allocations: 83.28 kB / 0.7888 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7324, allocations: 1.625 kB / 0.7888 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002063/0.7326, allocations: 142.1 kB / 0.7889 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.7327, allocations: 42.61 kB / 0.789 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.7327, allocations: 1.5 kB / 0.789 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.7327, allocations: 2.625 kB / 0.789 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.029e-05/0.7327, allocations: 2.75 kB / 0.789 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.7327, allocations: 5.781 kB / 0.789 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.733, allocations: 30.53 kB / 0.789 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.733, allocations: 7.375 kB / 0.789 GB, free: 47.69 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 6.953e-05/0.7331, allocations: 112.7 kB / 0.7891 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.7331, allocations: 13.81 kB / 0.7891 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.7331, allocations: 12.52 kB / 0.7892 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.7331, allocations: 2.781 kB / 0.7892 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.7331, allocations: 0 / 0.7892 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.7331, allocations: 0 / 0.7892 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.192e-05/0.7332, allocations: 160.2 kB / 0.7893 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.7332, allocations: 3.219 kB / 0.7893 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-06/0.7332, allocations: 3.281 kB / 0.7893 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.7332, allocations: 3.938 kB / 0.7893 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.7332, allocations: 0 / 0.7893 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7333, allocations: 0 / 0.7893 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7333, allocations: 5.938 kB / 0.7893 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.059e-05/0.7333, allocations: 77.72 kB / 0.7894 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.7334, allocations: 86.95 kB / 0.7895 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.7334, allocations: 3.703 kB / 0.7895 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.464e-05/0.7334, allocations: 0 / 0.7895 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.7335, allocations: 6.656 kB / 0.7895 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.7335, allocations: 0 / 0.7895 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.714e-05/0.7335, allocations: 85.14 kB / 0.7896 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7335, allocations: 0 / 0.7896 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000209/0.7337, allocations: 28.28 kB / 0.7896 GB, free: 47.13 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.0001469/0.7339, allocations: 103.2 kB / 0.7897 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001923/0.7341, allocations: 118.8 kB / 0.7898 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7341, allocations: 0 / 0.7898 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.517e-05/0.7341, allocations: 16.55 kB / 0.7898 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.7343, allocations: 9.219 kB / 0.7898 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002612/0.7346, allocations: 152.3 kB / 0.79 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.7347, allocations: 0.6805 MB / 0.7907 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.452e-05/0.7348, allocations: 17.28 kB / 0.7907 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of SimCode: time 1.102e-06/0.7348, allocations: 0 / 0.7907 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of Templates: time 0.002312/0.7371, allocations: 0.9106 MB / 0.7916 GB, free: 46.14 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)