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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.735/1.735, allocations: 292.3 MB / 308.1 MB, free: 4.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001663/0.001663, allocations: 187.3 kB / 376.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.984/1.984, allocations: 205.1 MB / 0.6354 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 103.5 kB / 0.748 GB, free: 61.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 55.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3242, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.002705/0.327, allocations: 0.6882 MB / 0.9829 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001891/0.3289, allocations: 1.121 MB / 0.984 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.732e-05/0.329, allocations: 4 kB / 0.984 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.3292, allocations: 0 / 0.984 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.247e-05/0.3292, allocations: 11.91 kB / 0.984 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005415/0.3298, allocations: 115.8 kB / 0.9841 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.3299, allocations: 71.89 kB / 0.9842 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.33, allocations: 11.94 kB / 0.9842 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.15e-05/0.3301, allocations: 27.97 kB / 0.9842 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.3302, allocations: 31.89 kB / 0.9843 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.3303, allocations: 4 kB / 0.9843 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.049e-05/0.3304, allocations: 15.98 kB / 0.9843 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.808e-05/0.3304, allocations: 12 kB / 0.9843 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.238e-05/0.3305, allocations: 39.89 kB / 0.9843 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.3307, allocations: 79.78 kB / 0.9844 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3307, allocations: 0 / 0.9844 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.166e-06/0.3308, allocations: 3.938 kB / 0.9844 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3308, allocations: 3.938 kB / 0.9844 GB, free: 8.129 MB / 0.7136 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.000615/0.3314, allocations: 381.4 kB / 0.9848 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.3314, allocations: 12.03 kB / 0.9848 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.654e-05/0.3315, allocations: 8.844 kB / 0.9848 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.3318, allocations: 176.4 kB / 0.985 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.3318, allocations: 8.375 kB / 0.985 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.3319, allocations: 8.375 kB / 0.985 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.332, allocations: 42.25 kB / 0.985 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.332, allocations: 4.188 kB / 0.985 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.3321, allocations: 3.938 kB / 0.985 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.3321, allocations: 0 / 0.985 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.61e-05/0.3321, allocations: 15.98 kB / 0.985 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000483/0.3326, allocations: 308.6 kB / 0.9853 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.048e-05/0.3327, allocations: 30.52 kB / 0.9854 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.135e-05/0.3327, allocations: 8.922 kB / 0.9854 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.463e-06/0.3327, allocations: 0 / 0.9854 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002205/0.333, allocations: 59.33 kB / 0.9854 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.814e-06/0.333, allocations: 0 / 0.9854 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002146/0.3332, allocations: 61.69 kB / 0.9855 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.3332, allocations: 59.39 kB / 0.9856 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.3334, allocations: 106 kB / 0.9857 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.3334, allocations: 33.7 kB / 0.9857 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/0.3335, allocations: 84.05 kB / 0.9858 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.3335, allocations: 7.906 kB / 0.9858 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.209e-05/0.3336, allocations: 29.7 kB / 0.9858 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.3337, allocations: 318.8 kB / 0.9861 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.382e-05/0.3338, allocations: 39.91 kB / 0.9861 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.237e-05/0.3339, allocations: 50.62 kB / 0.9862 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.3341, allocations: 76.27 kB / 0.9863 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3341, allocations: 0 / 0.9863 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002612/0.3343, allocations: 147.2 kB / 0.9864 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.457e-05/0.3344, allocations: 37.8 kB / 0.9864 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.3344, allocations: 3.984 kB / 0.9864 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3344, allocations: 240 / 0.9864 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.631e-05/0.3344, allocations: 3.938 kB / 0.9864 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3345, allocations: 4 kB / 0.9865 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.3347, allocations: 27.97 kB / 0.9865 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.3347, allocations: 4 kB / 0.9865 GB, free: 5.742 MB / 0.7136 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.000101/0.3348, allocations: 121.8 kB / 0.9866 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.3348, allocations: 15.89 kB / 0.9866 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.3348, allocations: 3.906 kB / 0.9866 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3349, allocations: 0 / 0.9866 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3349, allocations: 0 / 0.9866 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3349, allocations: 0 / 0.9866 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.335, allocations: 169.6 kB / 0.9868 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.335, allocations: 0 / 0.9868 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.605e-06/0.335, allocations: 4 kB / 0.9868 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.335, allocations: 0 / 0.9868 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.3351, allocations: 4 kB / 0.9868 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3351, allocations: 4 kB / 0.9868 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.3351, allocations: 0 / 0.9868 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.3355, allocations: 0.6279 MB / 0.9874 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.3355, allocations: 85 kB / 0.9875 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.3355, allocations: 0 / 0.9875 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.803e-05/0.3356, allocations: 3.938 kB / 0.9875 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.3356, allocations: 15.88 kB / 0.9875 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.3356, allocations: 0 / 0.9875 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.964e-05/0.3357, allocations: 91.33 kB / 0.9876 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3357, allocations: 0 / 0.9876 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003073/0.336, allocations: 16 kB / 0.9876 GB, free: 4.445 MB / 0.7136 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.0001885/0.3362, allocations: 99.25 kB / 0.9877 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002204/0.3364, allocations: 119.4 kB / 0.9878 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3364, allocations: 0 / 0.9878 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.469e-05/0.3365, allocations: 24.11 kB / 0.9878 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.3367, allocations: 4 kB / 0.9878 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.3371, allocations: 238.7 kB / 0.9881 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.3375, allocations: 0.6809 MB / 0.9887 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.41e-05/0.3375, allocations: 7.891 kB / 0.9887 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.91e-05/0.3375, allocations: 15.44 kB / 0.9888 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of SimCode: time 2e-07/0.3375, allocations: 0 / 0.9888 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of Templates: time 0.003816/0.3413, allocations: 1.039 MB / 0.9898 GB, free: 2.16 MB / 0.7136 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)