Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.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.001441/0.001441, allocations: 111.4 kB / 17.12 MB, free: 5.926 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.001541/0.001541, allocations: 204 kB / 20.09 MB, free: 2.977 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.612/1.612, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9886/0.9886, allocations: 150 MB / 459.5 MB, free: 5.301 MB / 350.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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.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.001947/0.001947, allocations: 64.66 kB / 0.6366 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1868, allocations: 89.14 MB / 0.7236 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002393/0.1892, allocations: 0.9432 MB / 0.7246 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002112/0.1913, allocations: 1.476 MB / 0.726 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.23e-05/0.1914, allocations: 4 kB / 0.726 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.987e-05/0.1915, allocations: 11.81 kB / 0.726 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.1916, allocations: 67.48 kB / 0.7261 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.1927, allocations: 439.2 kB / 0.7265 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005562/0.1933, allocations: 495 kB / 0.727 GB, free: 144 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.1934, allocations: 29.66 kB / 0.727 GB, free: 116 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.1936, allocations: 183.7 kB / 0.7272 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.1939, allocations: 163.4 kB / 0.7273 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.618e-05/0.194, allocations: 51.94 kB / 0.7274 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.1941, allocations: 67.98 kB / 0.7274 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.765e-05/0.1941, allocations: 43.78 kB / 0.7275 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002138/0.1944, allocations: 163.5 kB / 0.7276 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005693/0.1949, allocations: 0.5022 MB / 0.7281 GB, free: 14.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1949, allocations: 0 / 0.7281 GB, free: 14.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.924e-06/0.1949, allocations: 0 / 0.7281 GB, free: 14.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.1949, allocations: 0 / 0.7281 GB, free: 14.95 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00098/0.1959, allocations: 0.6339 MB / 0.7287 GB, free: 14.24 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.196, allocations: 12.03 kB / 0.7288 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.1961, allocations: 32.78 kB / 0.7288 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.1963, allocations: 219.1 kB / 0.729 GB, free: 13.94 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.1963, allocations: 20.31 kB / 0.729 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.467e-05/0.1964, allocations: 24.38 kB / 0.729 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.1966, allocations: 121.6 kB / 0.7292 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1966, allocations: 192 / 0.7292 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.1966, allocations: 7.922 kB / 0.7292 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.1966, allocations: 8 kB / 0.7292 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.1967, allocations: 51.92 kB / 0.7292 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000991/0.1977, allocations: 0.8718 MB / 0.7301 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.1979, allocations: 122.3 kB / 0.7302 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.535e-05/0.198, allocations: 47.5 kB / 0.7302 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.198, allocations: 0 / 0.7302 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003537/0.1984, allocations: 180 kB / 0.7304 GB, free: 12.35 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.1984, allocations: 0 / 0.7304 GB, free: 12.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0004887/0.1989, allocations: 229.9 kB / 0.7306 GB, free: 12.12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.581e-05/0.199, allocations: 132.5 kB / 0.7308 GB, free: 11.96 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.1992, allocations: 244.9 kB / 0.731 GB, free: 11.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.51e-05/0.1993, allocations: 41.69 kB / 0.731 GB, free: 11.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.1994, allocations: 132.5 kB / 0.7312 GB, free: 11.53 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.1995, allocations: 31.78 kB / 0.7312 GB, free: 11.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.1996, allocations: 97.59 kB / 0.7313 GB, free: 11.39 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.1998, allocations: 334.8 kB / 0.7316 GB, free: 11.06 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.2001, allocations: 144.2 kB / 0.7317 GB, free: 10.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.2006, allocations: 230.6 kB / 0.732 GB, free: 10.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005466/0.2011, allocations: 361 kB / 0.7323 GB, free: 10.24 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.2011, allocations: 8 kB / 0.7323 GB, free: 10.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001064/0.2022, allocations: 0.5587 MB / 0.7329 GB, free: 9.641 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.2023, allocations: 140.3 kB / 0.733 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.2023, allocations: 0 / 0.733 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.2023, allocations: 4 kB / 0.733 GB, free: 9.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.976e-05/0.2024, allocations: 15.94 kB / 0.733 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.2024, allocations: 4 kB / 0.733 GB, free: 9.457 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006325/0.2031, allocations: 115.8 kB / 0.7331 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/0.2031, allocations: 31.91 kB / 0.7331 GB, free: 9.312 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001967/0.2033, allocations: 154.1 kB / 0.7333 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.2034, allocations: 27.84 kB / 0.7333 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.195e-05/0.2034, allocations: 13.25 kB / 0.7333 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2034, allocations: 8 kB / 0.7333 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2034, allocations: 0 / 0.7333 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.2034, allocations: 11.92 kB / 0.7334 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.2037, allocations: 257.5 kB / 0.7336 GB, free: 8.789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2037, allocations: 0 / 0.7336 GB, free: 8.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.801e-05/0.2038, allocations: 15.94 kB / 0.7336 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2038, allocations: 0 / 0.7336 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.2038, allocations: 7.984 kB / 0.7336 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2038, allocations: 0 / 0.7336 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.2038, allocations: 4 kB / 0.7336 GB, free: 8.762 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.2041, allocations: 219.3 kB / 0.7338 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.649e-05/0.2042, allocations: 105 kB / 0.7339 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.2042, allocations: 4 kB / 0.7339 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.105e-05/0.2043, allocations: 8 kB / 0.7339 GB, free: 8.387 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.2043, allocations: 19.91 kB / 0.734 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.2043, allocations: 15.94 kB / 0.734 GB, free: 8.352 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002228/0.2046, allocations: 164.5 kB / 0.7341 GB, free: 8.191 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2046, allocations: 0 / 0.7341 GB, free: 8.191 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003214/0.2049, allocations: 68 kB / 0.7342 GB, free: 8.125 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000217/0.2051, allocations: 116.6 kB / 0.7343 GB, free: 8.004 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007271/0.2058, allocations: 495.5 kB / 0.7348 GB, free: 7.473 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2058, allocations: 0 / 0.7348 GB, free: 7.473 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.2059, allocations: 55.91 kB / 0.7348 GB, free: 7.418 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.2064, allocations: 61.17 kB / 0.7349 GB, free: 7.359 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000643/0.207, allocations: 346.5 kB / 0.7352 GB, free: 6.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.2074, allocations: 0.732 MB / 0.7359 GB, free: 6.219 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.425e-05/0.2075, allocations: 21.55 kB / 0.736 GB, free: 6.199 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.2075, allocations: 15.44 kB / 0.736 GB, free: 6.184 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.2075, allocations: 0 / 0.736 GB, free: 6.184 MB / 0.545 GB Notification: Performance of Templates: time 0.008732/0.2163, allocations: 4.6 MB / 0.7405 GB, free: 1.656 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.223309276858345] Failed to read output from testmodel.py, exit status != 0: 0.22335297404788435 0.23711611500000002 0.039449272 Calling exit ...