Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001712/0.001712, allocations: 96.42 kB / 20.45 MB, free: 1.262 MB / 14.72 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.001874/0.001874, allocations: 211.6 kB / 23.74 MB, free: 4.445 MB / 14.72 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.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9876/0.9876, allocations: 149.9 MB / 463.8 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 68.45 kB / 0.6423 GB, free: 9.586 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1665, allocations: 89.17 MB / 0.7294 GB, free: 492 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002537/0.1691, allocations: 1.071 MB / 0.7304 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00313/0.1722, allocations: 2.196 MB / 0.7326 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.1724, allocations: 4 kB / 0.7326 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.022e-05/0.1724, allocations: 19.69 kB / 0.7326 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.1727, allocations: 99.19 kB / 0.7327 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003288/0.1759, allocations: 1.397 MB / 0.7341 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0016/0.1775, allocations: 1.197 MB / 0.7352 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.956e-05/0.1776, allocations: 16.94 kB / 0.7353 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007395/0.1784, allocations: 491.3 kB / 0.7357 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006607/0.179, allocations: 378.9 kB / 0.7361 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002256/0.1792, allocations: 104 kB / 0.7362 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002537/0.1795, allocations: 120 kB / 0.7363 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.313e-05/0.1796, allocations: 55.77 kB / 0.7364 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004429/0.18, allocations: 375.2 kB / 0.7367 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.181, allocations: 0.9661 MB / 0.7377 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.181, allocations: 0 / 0.7377 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.181, allocations: 0 / 0.7377 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.181, allocations: 3.938 kB / 0.7377 GB, free: 8.055 MB / 0.5606 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.001418/0.1825, allocations: 1.1 MB / 0.7387 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1825, allocations: 12.03 kB / 0.7387 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.1827, allocations: 72.67 kB / 0.7388 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.1829, allocations: 166.7 kB / 0.739 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.296e-05/0.1829, allocations: 40.36 kB / 0.739 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.1831, allocations: 60.38 kB / 0.7391 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.1834, allocations: 214.8 kB / 0.7393 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1834, allocations: 8.172 kB / 0.7393 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.1834, allocations: 11.92 kB / 0.7393 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1834, allocations: 0 / 0.7393 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.1835, allocations: 71.78 kB / 0.7394 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000799/0.1843, allocations: 0.5948 MB / 0.7399 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/0.1847, allocations: 319.3 kB / 0.7402 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.1849, allocations: 132.8 kB / 0.7404 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.1849, allocations: 11.94 kB / 0.7404 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006904/0.1856, allocations: 466.9 kB / 0.7408 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=45): time 2.014e-06/0.1856, allocations: 0 / 0.7408 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.001096/0.1867, allocations: 0.5732 MB / 0.7414 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002755/0.187, allocations: 447.1 kB / 0.7418 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003102/0.1873, allocations: 292.4 kB / 0.7421 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001385/0.1874, allocations: 69.69 kB / 0.7422 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.1876, allocations: 161.3 kB / 0.7423 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.418e-05/0.1877, allocations: 95.36 kB / 0.7424 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004736/0.1882, allocations: 278 kB / 0.7427 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.1884, allocations: 350.8 kB / 0.743 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.1897, allocations: 0.8581 MB / 0.7438 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.1912, allocations: 1.145 MB / 0.745 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.1927, allocations: 1.199 MB / 0.7461 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.535e-06/0.1927, allocations: 4 kB / 0.7461 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003225/0.1959, allocations: 2.206 MB / 0.7483 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003385/0.1963, allocations: 474.7 kB / 0.7487 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.1963, allocations: 15.94 kB / 0.7488 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/0.1963, allocations: 12 kB / 0.7488 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.1964, allocations: 35.86 kB / 0.7488 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.133e-05/0.1964, allocations: 19.92 kB / 0.7488 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/0.1985, allocations: 403.2 kB / 0.7492 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/0.1986, allocations: 99.92 kB / 0.7493 GB, free: 10.62 MB / 0.5762 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.0003583/0.199, allocations: 225.5 kB / 0.7495 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-05/0.1991, allocations: 43.75 kB / 0.7496 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.808e-05/0.1992, allocations: 42.17 kB / 0.7496 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.1992, allocations: 8 kB / 0.7496 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.1992, allocations: 4 kB / 0.7496 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.1992, allocations: 7.938 kB / 0.7496 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.1995, allocations: 241.1 kB / 0.7499 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.1995, allocations: 4 kB / 0.7499 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.1996, allocations: 19.92 kB / 0.7499 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.1996, allocations: 8 kB / 0.7499 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.1996, allocations: 15.98 kB / 0.7499 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.053e-05/0.1996, allocations: 11.94 kB / 0.7499 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.1996, allocations: 7.938 kB / 0.7499 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007225/0.2003, allocations: 0.5238 MB / 0.7504 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.2004, allocations: 47.64 kB / 0.7505 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.025e-05/0.2004, allocations: 23.91 kB / 0.7505 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.2006, allocations: 12 kB / 0.7505 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.594e-05/0.2007, allocations: 63.86 kB / 0.7506 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/0.2007, allocations: 27.98 kB / 0.7506 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001948/0.2009, allocations: 203 kB / 0.7508 GB, free: 9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2009, allocations: 0 / 0.7508 GB, free: 9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006501/0.2015, allocations: 196 kB / 0.751 GB, free: 8.809 MB / 0.5762 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.0001904/0.2017, allocations: 129.4 kB / 0.7511 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002385/0.2041, allocations: 2.012 MB / 0.7531 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.2041, allocations: 4 kB / 0.7531 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006647/0.2048, allocations: 325.3 kB / 0.7534 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007323/0.2055, allocations: 123.1 kB / 0.7535 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.2066, allocations: 0.665 MB / 0.7541 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.2068, allocations: 169.8 kB / 0.7543 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.321e-05/0.2069, allocations: 39.44 kB / 0.7543 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of SimCode: time 7.72e-07/0.2069, allocations: 0 / 0.7543 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of Templates: time 0.3044/0.5112, allocations: 7.693 MB / 0.7619 GB, free: 32.5 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.29401782574132] Failed to read output from testmodel.py, exit status != 0: 0.5195966819301248 0.5332824620000001 0.349183483 Calling exit ...