Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.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.00248/0.00248, allocations: 100.3 kB / 19.72 MB, free: 424 kB / 13.93 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.002825/0.002825, allocations: 220.2 kB / 23.02 MB, free: 2.965 MB / 13.93 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 1.776/1.776, allocations: 230.6 MB / 256.8 MB, free: 9.648 MB / 202.7 MB " [Timeout remaining time 178] 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 3.6/3.6, allocations: 0.5045 GB / 0.8104 GB, free: 2.801 MB / 0.6511 GB " [Timeout remaining time 176] 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.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003893/0.003893, allocations: 71.89 kB / 1.177 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9931/0.997, allocations: 180 MB / 1.353 GB, free: 1.641 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002611/0.9996, allocations: 1.087 MB / 1.354 GB, free: 0.5547 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.003357/1.003, allocations: 2.188 MB / 1.356 GB, free: 14.35 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/1.003, allocations: 4 kB / 1.356 GB, free: 14.35 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 6.87e-05/1.003, allocations: 23.62 kB / 1.356 GB, free: 14.32 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002637/1.003, allocations: 99.2 kB / 1.356 GB, free: 14.23 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003176/1.007, allocations: 1.396 MB / 1.358 GB, free: 12.88 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.001768/1.008, allocations: 1.205 MB / 1.359 GB, free: 11.67 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.34e-05/1.008, allocations: 12.94 kB / 1.359 GB, free: 11.66 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006351/1.009, allocations: 483.3 kB / 1.359 GB, free: 11.18 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006707/1.01, allocations: 386.8 kB / 1.36 GB, free: 10.8 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002108/1.01, allocations: 104 kB / 1.36 GB, free: 10.7 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002577/1.01, allocations: 120 kB / 1.36 GB, free: 10.59 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 7.207e-05/1.01, allocations: 55.83 kB / 1.36 GB, free: 10.53 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004731/1.011, allocations: 383.2 kB / 1.36 GB, free: 10.16 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.00116/1.012, allocations: 0.9687 MB / 1.361 GB, free: 9.191 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/1.012, allocations: 0 / 1.361 GB, free: 9.191 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.683e-06/1.012, allocations: 0 / 1.361 GB, free: 9.191 MB / 1.042 GB Notification: Performance of Transformations before backend: time 8.526e-06/1.012, allocations: 0 / 1.361 GB, free: 9.191 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001565/1.014, allocations: 1.1 MB / 1.362 GB, free: 7.969 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/1.014, allocations: 12.92 kB / 1.362 GB, free: 7.957 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002216/1.014, allocations: 68.73 kB / 1.362 GB, free: 7.891 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/1.014, allocations: 162.6 kB / 1.363 GB, free: 7.703 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.121e-05/1.014, allocations: 40.36 kB / 1.363 GB, free: 7.664 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/1.014, allocations: 68.36 kB / 1.363 GB, free: 7.598 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/1.015, allocations: 213.8 kB / 1.363 GB, free: 7.34 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/1.015, allocations: 8.125 kB / 1.363 GB, free: 7.332 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/1.015, allocations: 15.86 kB / 1.363 GB, free: 7.316 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/1.015, allocations: 0 / 1.363 GB, free: 7.316 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/1.015, allocations: 67.78 kB / 1.363 GB, free: 7.25 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008861/1.016, allocations: 0.5948 MB / 1.363 GB, free: 6.582 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004224/1.016, allocations: 315.2 kB / 1.364 GB, free: 6.137 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/1.016, allocations: 136.9 kB / 1.364 GB, free: 5.957 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/1.016, allocations: 11.98 kB / 1.364 GB, free: 5.945 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007001/1.017, allocations: 463 kB / 1.364 GB, free: 5.422 MB / 1.042 GB Notification: Performance of pre-optimization done (n=45): time 1.704e-06/1.017, allocations: 0 / 1.364 GB, free: 5.422 MB / 1.042 GB Notification: Performance of matching and sorting (n=45): time 0.001258/1.018, allocations: 0.5738 MB / 1.365 GB, free: 4.844 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003204/1.019, allocations: 439.2 kB / 1.365 GB, free: 4.316 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/1.019, allocations: 300.3 kB / 1.366 GB, free: 4.016 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001286/1.019, allocations: 61.7 kB / 1.366 GB, free: 3.949 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/1.019, allocations: 161.4 kB / 1.366 GB, free: 3.785 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/1.019, allocations: 107.3 kB / 1.366 GB, free: 3.68 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005032/1.02, allocations: 270 kB / 1.366 GB, free: 3.41 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002064/1.02, allocations: 354.8 kB / 1.367 GB, free: 3.055 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/1.021, allocations: 0.8581 MB / 1.367 GB, free: 2.105 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/1.023, allocations: 1.149 MB / 1.369 GB, free: 0.7305 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/1.024, allocations: 1.195 MB / 1.37 GB, free: 15.3 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/1.024, allocations: 4 kB / 1.37 GB, free: 15.3 MB / 1.057 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003423/1.028, allocations: 2.207 MB / 1.372 GB, free: 12.9 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003691/1.028, allocations: 475.5 kB / 1.372 GB, free: 12.35 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/1.028, allocations: 15.94 kB / 1.372 GB, free: 12.33 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.064e-05/1.028, allocations: 12 kB / 1.372 GB, free: 12.32 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.659e-05/1.028, allocations: 35.8 kB / 1.372 GB, free: 12.29 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.267e-05/1.028, allocations: 15.94 kB / 1.372 GB, free: 12.27 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/1.031, allocations: 415.5 kB / 1.373 GB, free: 11.86 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001816/1.031, allocations: 95.92 kB / 1.373 GB, free: 11.77 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0003601/1.031, allocations: 213.6 kB / 1.373 GB, free: 11.55 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.399e-05/1.031, allocations: 43.75 kB / 1.373 GB, free: 11.51 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.724e-05/1.031, allocations: 42.17 kB / 1.373 GB, free: 11.46 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/1.031, allocations: 12 kB / 1.373 GB, free: 11.45 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/1.031, allocations: 7.984 kB / 1.373 GB, free: 11.44 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/1.031, allocations: 4 kB / 1.373 GB, free: 11.43 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003712/1.032, allocations: 241.1 kB / 1.373 GB, free: 11.17 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/1.032, allocations: 4 kB / 1.373 GB, free: 11.16 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.826e-05/1.032, allocations: 19.86 kB / 1.373 GB, free: 11.14 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/1.032, allocations: 8 kB / 1.373 GB, free: 11.14 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/1.032, allocations: 15.98 kB / 1.373 GB, free: 11.12 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/1.032, allocations: 11.94 kB / 1.373 GB, free: 11.11 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.032, allocations: 4 kB / 1.373 GB, free: 11.11 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007839/1.033, allocations: 0.5316 MB / 1.374 GB, free: 10.52 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 5.689e-05/1.033, allocations: 39.69 kB / 1.374 GB, free: 10.48 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.751e-05/1.033, allocations: 23.86 kB / 1.374 GB, free: 10.45 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/1.033, allocations: 12 kB / 1.374 GB, free: 10.44 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/1.033, allocations: 63.86 kB / 1.374 GB, free: 10.38 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/1.033, allocations: 27.98 kB / 1.374 GB, free: 10.35 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0002122/1.033, allocations: 195 kB / 1.374 GB, free: 10.16 MB / 1.057 GB Notification: Performance of sort global known variables: time 7e-08/1.033, allocations: 0 / 1.374 GB, free: 10.16 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0007605/1.034, allocations: 196 kB / 1.374 GB, free: 9.969 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0002325/1.034, allocations: 143 kB / 1.375 GB, free: 9.82 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.002566/1.037, allocations: 2.006 MB / 1.377 GB, free: 7.539 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.037, allocations: 4.188 kB / 1.377 GB, free: 7.535 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0003118/1.037, allocations: 157 kB / 1.377 GB, free: 7.383 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006853/1.038, allocations: 124.9 kB / 1.377 GB, free: 7.258 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/1.039, allocations: 0.6423 MB / 1.377 GB, free: 6.547 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/1.039, allocations: 165.8 kB / 1.378 GB, free: 6.363 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.000111/1.039, allocations: 42.97 kB / 1.378 GB, free: 6.32 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.773e-05/1.039, allocations: 43.42 kB / 1.378 GB, free: 6.281 MB / 1.057 GB Notification: Performance of SimCode: time 5.71e-07/1.039, allocations: 0 / 1.378 GB, free: 6.281 MB / 1.057 GB Notification: Performance of Templates: time 0.02366/1.063, allocations: 13.8 MB / 1.391 GB, free: 8.816 MB / 1.073 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.119905836880207]