Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009664/0.0009664, allocations: 80.75 kB / 20.82 MB, free: 3.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 169 kB / 24.25 MB, free: 208 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9698/0.9698, allocations: 177.1 MB / 204.7 MB, free: 5.418 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.907/1.907, allocations: 389.6 MB / 0.6355 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.106e-06/3.106e-06, allocations: 0 / 0.7754 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/3.133e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002194/0.002225, allocations: 0.6838 MB / 0.776 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001746/0.003971, allocations: 1.15 MB / 0.7772 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.271e-05/0.004054, allocations: 3.938 kB / 0.7772 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.004222, allocations: 0 / 0.7772 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.11e-05/0.004263, allocations: 17.88 kB / 0.7772 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.004764, allocations: 116.5 kB / 0.7773 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.004954, allocations: 82.84 kB / 0.7774 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.212e-05/0.005046, allocations: 15.98 kB / 0.7774 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.005147, allocations: 45.83 kB / 0.7774 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.005264, allocations: 28.5 kB / 0.7775 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.005291, allocations: 12.7 kB / 0.7775 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.005393, allocations: 23.97 kB / 0.7775 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.746e-05/0.00546, allocations: 9.312 kB / 0.7775 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.161e-05/0.005512, allocations: 21.62 kB / 0.7775 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.005679, allocations: 80.97 kB / 0.7776 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.005681, allocations: 3.438 kB / 0.7776 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.258e-06/0.005685, allocations: 4 kB / 0.7776 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.005689, allocations: 0 / 0.7776 GB, free: 3.035 MB / 0.7292 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.0003823/0.006071, allocations: 278.6 kB / 0.7779 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.006113, allocations: 13.34 kB / 0.7779 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.006156, allocations: 4.938 kB / 0.7779 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.006312, allocations: 121.7 kB / 0.778 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.006324, allocations: 4.375 kB / 0.778 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.006343, allocations: 4.375 kB / 0.778 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.487e-05/0.006418, allocations: 41 kB / 0.778 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.006426, allocations: 192 / 0.778 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.006434, allocations: 384 / 0.778 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.006439, allocations: 4.375 kB / 0.7781 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.761e-05/0.006457, allocations: 11.92 kB / 0.7781 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/0.006676, allocations: 172.2 kB / 0.7782 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.252e-05/0.006719, allocations: 14.58 kB / 0.7782 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.081e-05/0.006729, allocations: 10.52 kB / 0.7783 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.5e-06/0.006735, allocations: 4 kB / 0.7783 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.473e-05/0.00682, allocations: 51.39 kB / 0.7783 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.006821, allocations: 1.156 kB / 0.7783 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001144/0.006935, allocations: 53.56 kB / 0.7784 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.006971, allocations: 51.41 kB / 0.7784 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.774e-05/0.007049, allocations: 119.7 kB / 0.7785 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.007071, allocations: 33.7 kB / 0.7786 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/0.007117, allocations: 92.08 kB / 0.7786 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-06/0.007126, allocations: 4.547 kB / 0.7786 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.887e-05/0.007184, allocations: 30.22 kB / 0.7787 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.7e-05/0.007281, allocations: 318.8 kB / 0.779 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.975e-05/0.007341, allocations: 46.62 kB / 0.779 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-05/0.007412, allocations: 80.23 kB / 0.7791 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.71e-05/0.007489, allocations: 73.08 kB / 0.7792 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.007491, allocations: 1.438 kB / 0.7792 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000157/0.007648, allocations: 145.2 kB / 0.7793 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.007688, allocations: 41.64 kB / 0.7793 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.007694, allocations: 4.641 kB / 0.7794 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.007703, allocations: 0.6875 kB / 0.7794 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.866e-05/0.007722, allocations: 11.92 kB / 0.7794 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.007725, allocations: 1.719 kB / 0.7794 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.00786, allocations: 15.98 kB / 0.7794 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.007878, allocations: 4 kB / 0.7794 GB, free: 1.004 MB / 0.7292 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 9.049e-05/0.007968, allocations: 117.7 kB / 0.7795 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.007979, allocations: 4 kB / 0.7795 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.008006, allocations: 11.94 kB / 0.7795 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.008008, allocations: 0.5625 kB / 0.7795 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.00801, allocations: 1.125 kB / 0.7795 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.008014, allocations: 4 kB / 0.7795 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.479e-05/0.008099, allocations: 73.81 kB / 0.7796 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.0081, allocations: 0.5625 kB / 0.7796 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-06/0.008106, allocations: 0 / 0.7796 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.008108, allocations: 0.875 kB / 0.7796 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-06/0.008112, allocations: 4 kB / 0.7796 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.008114, allocations: 0.75 kB / 0.7796 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.008118, allocations: 3.938 kB / 0.7796 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.989e-05/0.008198, allocations: 65.75 kB / 0.7797 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-06/0.008206, allocations: 3.984 kB / 0.7797 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.008217, allocations: 5.812 kB / 0.7797 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.519e-05/0.008232, allocations: 4 kB / 0.7797 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.008261, allocations: 4.25 kB / 0.7797 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.008264, allocations: 0 / 0.7797 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.755e-05/0.008281, allocations: 16.84 kB / 0.7797 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.1e-08/0.008281, allocations: 4.969 kB / 0.7797 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001867/0.008468, allocations: 15.95 kB / 0.7797 GB, free: 0.6289 MB / 0.7292 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.0001434/0.008611, allocations: 92.16 kB / 0.7798 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001865/0.008798, allocations: 137.9 kB / 0.7799 GB, free: 388 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.008803, allocations: 4.844 kB / 0.7799 GB, free: 384 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.018e-05/0.008823, allocations: 8.859 kB / 0.7799 GB, free: 372 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.00896, allocations: 4.938 kB / 0.7799 GB, free: 368 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.009262, allocations: 137.3 kB / 0.7801 GB, free: 204 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.164e-05/0.009303, allocations: 51.36 kB / 0.7801 GB, free: 132 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.44e-05/0.009328, allocations: 8.797 kB / 0.7801 GB, free: 124 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.207e-05/0.00942, allocations: 63.36 kB / 0.7802 GB, free: 60 kB / 0.7292 GB Notification: Performance of SimCode: time 5.71e-07/0.00942, allocations: 1.031 kB / 0.7802 GB, free: 60 kB / 0.7292 GB Notification: Performance of Templates: time 0.003815/0.01324, allocations: 1.272 MB / 0.7814 GB, free: 14.86 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.026279707439244]