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.001313/0.001313, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001524/0.001524, allocations: 207 kB / 23.74 MB, free: 4.543 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.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 7.734 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.9344/0.9344, 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.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.002031/0.002031, allocations: 67.47 kB / 0.6423 GB, free: 9.594 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1918, allocations: 89.17 MB / 0.7294 GB, free: 500 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002758/0.1946, allocations: 0.902 MB / 0.7303 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0023/0.1969, allocations: 1.451 MB / 0.7317 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.227e-05/0.197, allocations: 4 kB / 0.7317 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.528e-05/0.197, allocations: 19.73 kB / 0.7317 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.1972, allocations: 59.56 kB / 0.7318 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.1984, allocations: 444 kB / 0.7322 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000602/0.199, allocations: 495.1 kB / 0.7327 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.1991, allocations: 29.94 kB / 0.7327 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.1994, allocations: 187.6 kB / 0.7329 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.1996, allocations: 139.5 kB / 0.733 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.327e-05/0.1997, allocations: 48 kB / 0.733 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.1999, allocations: 67.98 kB / 0.7331 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.08e-05/0.1999, allocations: 43.78 kB / 0.7332 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.2001, allocations: 147.5 kB / 0.7333 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005805/0.2007, allocations: 0.5023 MB / 0.7338 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2007, allocations: 0 / 0.7338 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2007, allocations: 4 kB / 0.7338 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.2007, allocations: 0 / 0.7338 GB, free: 11.98 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009308/0.2016, allocations: 0.5585 MB / 0.7343 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.2017, allocations: 12.03 kB / 0.7343 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.2018, allocations: 32.8 kB / 0.7344 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.202, allocations: 165.2 kB / 0.7345 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.202, allocations: 12.38 kB / 0.7345 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.2021, allocations: 28.36 kB / 0.7346 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.2023, allocations: 115.8 kB / 0.7347 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2023, allocations: 192 / 0.7347 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.2024, allocations: 15.94 kB / 0.7347 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2024, allocations: 0 / 0.7347 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.2025, allocations: 59.91 kB / 0.7348 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.2036, allocations: 0.7232 MB / 0.7355 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.2038, allocations: 118.4 kB / 0.7356 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.119e-05/0.2039, allocations: 51.48 kB / 0.7356 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.2039, allocations: 0 / 0.7356 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003928/0.2043, allocations: 174.7 kB / 0.7358 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.2043, allocations: 0 / 0.7358 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.0005266/0.2048, allocations: 233.8 kB / 0.736 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002262/0.2051, allocations: 136.5 kB / 0.7361 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.2053, allocations: 240.8 kB / 0.7364 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.605e-05/0.2054, allocations: 37.7 kB / 0.7364 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.2055, allocations: 140.4 kB / 0.7365 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.596e-05/0.2056, allocations: 27.8 kB / 0.7366 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.2058, allocations: 93.66 kB / 0.7367 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.2059, allocations: 334.8 kB / 0.737 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004729/0.2064, allocations: 279 kB / 0.7372 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004886/0.2069, allocations: 357.4 kB / 0.7376 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000479/0.2074, allocations: 368.9 kB / 0.7379 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.2074, allocations: 0 / 0.7379 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001055/0.2084, allocations: 0.6902 MB / 0.7386 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.2086, allocations: 138.8 kB / 0.7387 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2086, allocations: 0 / 0.7387 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.2086, allocations: 4 kB / 0.7387 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.451e-05/0.2087, allocations: 15.94 kB / 0.7388 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.2087, allocations: 4 kB / 0.7388 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006953/0.2094, allocations: 112 kB / 0.7389 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-05/0.2094, allocations: 23.97 kB / 0.7389 GB, free: 6.23 MB / 0.5606 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.0001834/0.2096, allocations: 162.2 kB / 0.7391 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.2096, allocations: 23.8 kB / 0.7391 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.884e-05/0.2097, allocations: 25.33 kB / 0.7391 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.2097, allocations: 0 / 0.7391 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.2097, allocations: 4 kB / 0.7391 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2097, allocations: 0 / 0.7391 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.2099, allocations: 185.2 kB / 0.7393 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2099, allocations: 4 kB / 0.7393 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/0.21, allocations: 15.92 kB / 0.7393 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.21, allocations: 0 / 0.7393 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.21, allocations: 4 kB / 0.7393 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.21, allocations: 4 kB / 0.7393 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.21, allocations: 4 kB / 0.7393 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.2103, allocations: 227.3 kB / 0.7395 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/0.2104, allocations: 23.8 kB / 0.7396 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.2104, allocations: 11.98 kB / 0.7396 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.969e-05/0.2104, allocations: 0 / 0.7396 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.2105, allocations: 15.98 kB / 0.7396 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.2105, allocations: 7.984 kB / 0.7396 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002225/0.2107, allocations: 168.4 kB / 0.7397 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2107, allocations: 4 kB / 0.7397 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003288/0.211, allocations: 63.98 kB / 0.7398 GB, free: 5.223 MB / 0.5606 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.0001594/0.2112, allocations: 111.2 kB / 0.7399 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008388/0.212, allocations: 0.6047 MB / 0.7405 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.212, allocations: 4 kB / 0.7405 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.2122, allocations: 76.38 kB / 0.7406 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.2126, allocations: 72.97 kB / 0.7407 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007783/0.2134, allocations: 372.3 kB / 0.741 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.2135, allocations: 116.9 kB / 0.7411 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.2136, allocations: 23.42 kB / 0.7411 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.2136, allocations: 0 / 0.7411 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of Templates: time 0.006437/0.22, allocations: 3.543 MB / 0.7446 GB, free: 220 kB / 0.5606 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: 8.234862049110234] Failed to read output from testmodel.py, exit status != 0: 0.22820467222481966 0.24561829300000002 0.041138995000000005 Calling exit ...