Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.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.001324/0.001324, allocations: 103.8 kB / 20.49 MB, free: 1.316 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.001445/0.001445, allocations: 215 kB / 23.79 MB, free: 4.453 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.442/1.442, allocations: 230.6 MB / 257.6 MB, free: 7.777 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.9466/0.9466, allocations: 150 MB / 464 MB, free: 10.15 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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.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.002154/0.002154, allocations: 74.61 kB / 0.6425 GB, free: 9.285 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1956, allocations: 89.18 MB / 0.7296 GB, free: 184 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00211/0.1978, allocations: 0.6932 MB / 0.7303 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.1993, allocations: 1.147 MB / 0.7314 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.1993, allocations: 0 / 0.7314 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.1994, allocations: 7.875 kB / 0.7314 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.989e-05/0.1994, allocations: 15.92 kB / 0.7314 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.1999, allocations: 130.8 kB / 0.7316 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.2001, allocations: 123.8 kB / 0.7317 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.93e-05/0.2002, allocations: 11.98 kB / 0.7317 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.884e-05/0.2003, allocations: 43.92 kB / 0.7317 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.661e-05/0.2004, allocations: 35.88 kB / 0.7318 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.2004, allocations: 19.94 kB / 0.7318 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.875e-05/0.2005, allocations: 23.98 kB / 0.7318 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.2005, allocations: 8 kB / 0.7318 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.148e-05/0.2006, allocations: 35.86 kB / 0.7319 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.2008, allocations: 139.5 kB / 0.732 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2008, allocations: 4 kB / 0.732 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2008, allocations: 0 / 0.732 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.2008, allocations: 0 / 0.732 GB, free: 13.74 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005263/0.2013, allocations: 319.8 kB / 0.7323 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2014, allocations: 8.031 kB / 0.7323 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.2014, allocations: 8.891 kB / 0.7323 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.2015, allocations: 129.9 kB / 0.7324 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.2016, allocations: 8.312 kB / 0.7324 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.2016, allocations: 4.375 kB / 0.7324 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.2017, allocations: 50.25 kB / 0.7325 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.2017, allocations: 8.109 kB / 0.7325 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.2017, allocations: 3.938 kB / 0.7325 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.2017, allocations: 0 / 0.7325 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.267e-05/0.2018, allocations: 12 kB / 0.7325 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.2022, allocations: 252.5 kB / 0.7328 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.283e-05/0.2022, allocations: 26.58 kB / 0.7328 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.779e-05/0.2023, allocations: 20.86 kB / 0.7328 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.2023, allocations: 3.938 kB / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.2024, allocations: 63.33 kB / 0.7329 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.2024, allocations: 4 kB / 0.7329 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.000227/0.2026, allocations: 77.62 kB / 0.7329 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.2027, allocations: 51.41 kB / 0.733 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.2028, allocations: 129.8 kB / 0.7331 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.2028, allocations: 29.7 kB / 0.7331 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.837e-05/0.2029, allocations: 92.09 kB / 0.7332 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.2029, allocations: 7.953 kB / 0.7332 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.608e-05/0.203, allocations: 33.7 kB / 0.7333 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2031, allocations: 318.8 kB / 0.7336 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.2032, allocations: 69.69 kB / 0.7336 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.2033, allocations: 88.25 kB / 0.7337 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.2035, allocations: 96.2 kB / 0.7338 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2035, allocations: 0 / 0.7338 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003065/0.2038, allocations: 200.9 kB / 0.734 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.518e-05/0.2038, allocations: 44.03 kB / 0.7341 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2038, allocations: 4.062 kB / 0.7341 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.2038, allocations: 0 / 0.7341 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.882e-05/0.2039, allocations: 4 kB / 0.7341 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2039, allocations: 0 / 0.7341 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.2041, allocations: 23.97 kB / 0.7341 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.2041, allocations: 4 kB / 0.7341 GB, free: 11.36 MB / 0.5606 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 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 0.0001022/0.2042, allocations: 125.8 kB / 0.7342 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.2042, allocations: 8.016 kB / 0.7342 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.2042, allocations: 16 kB / 0.7342 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2042, allocations: 0 / 0.7342 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2043, allocations: 0 / 0.7342 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2043, allocations: 3.938 kB / 0.7342 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.2044, allocations: 121.3 kB / 0.7344 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2044, allocations: 3.938 kB / 0.7344 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.414e-05/0.2044, allocations: 0 / 0.7344 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2044, allocations: 4.172 kB / 0.7344 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.2044, allocations: 4 kB / 0.7344 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2044, allocations: 3.938 kB / 0.7344 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2044, allocations: 0 / 0.7344 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.2045, allocations: 93.11 kB / 0.7345 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.2045, allocations: 11.88 kB / 0.7345 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.2046, allocations: 4 kB / 0.7345 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.789e-05/0.2046, allocations: 0 / 0.7345 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.2046, allocations: 0 / 0.7345 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.2046, allocations: 4 kB / 0.7345 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.817e-05/0.2047, allocations: 95.27 kB / 0.7346 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2047, allocations: 4 kB / 0.7346 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000209/0.2049, allocations: 23.92 kB / 0.7346 GB, free: 10.77 MB / 0.5606 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,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0001452/0.205, allocations: 103.2 kB / 0.7347 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002494/0.2053, allocations: 157 kB / 0.7348 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2053, allocations: 0 / 0.7348 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.516e-05/0.2053, allocations: 12 kB / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.2055, allocations: 15.92 kB / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.2058, allocations: 150.1 kB / 0.735 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.1e-05/0.2059, allocations: 71.47 kB / 0.7351 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.151e-05/0.2059, allocations: 4 kB / 0.7351 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.959e-05/0.2059, allocations: 7.438 kB / 0.7351 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.2059, allocations: 0 / 0.7351 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of Templates: time 0.004105/0.21, allocations: 1.507 MB / 0.7366 GB, free: 8.719 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.417154728900641] Failed to read output from testmodel.py, exit status != 0: 0.21805963409133255 0.23154960100000002 0.027904678000000002 Calling exit ...