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.001343/0.001343, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001553/0.001553, allocations: 216.8 kB / 22.99 MB, free: 4.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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.9896/0.9896, allocations: 149.9 MB / 463 MB, free: 10.36 MB / 366.1 MB " [Timeout remaining time 178] 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.002091/0.002091, allocations: 67.03 kB / 0.6416 GB, free: 9.641 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2038, allocations: 89.16 MB / 0.7287 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002005/0.2058, allocations: 0.708 MB / 0.7293 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.2073, allocations: 1.143 MB / 0.7305 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.789e-05/0.2074, allocations: 0 / 0.7305 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.407e-05/0.2074, allocations: 4 kB / 0.7305 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.2075, allocations: 19.84 kB / 0.7305 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.208, allocations: 130.8 kB / 0.7306 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.2082, allocations: 123.8 kB / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.439e-05/0.2083, allocations: 7.984 kB / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.921e-05/0.2084, allocations: 51.84 kB / 0.7308 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.2085, allocations: 39.83 kB / 0.7308 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.2085, allocations: 12 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.723e-05/0.2086, allocations: 19.98 kB / 0.7309 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/0.2086, allocations: 8 kB / 0.7309 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.598e-05/0.2087, allocations: 47.83 kB / 0.7309 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.2089, allocations: 127.6 kB / 0.731 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2089, allocations: 0 / 0.731 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2089, allocations: 0 / 0.731 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.2089, allocations: 4 kB / 0.731 GB, free: 14.09 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.0005577/0.2095, allocations: 327.7 kB / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.2095, allocations: 12.03 kB / 0.7314 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/0.2095, allocations: 8.891 kB / 0.7314 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.2097, allocations: 112.4 kB / 0.7315 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.2097, allocations: 8.359 kB / 0.7315 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.2097, allocations: 12.31 kB / 0.7315 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.2098, allocations: 50.19 kB / 0.7315 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.2098, allocations: 192 / 0.7315 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2098, allocations: 3.938 kB / 0.7315 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.2099, allocations: 4 kB / 0.7315 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.888e-05/0.2099, allocations: 12 kB / 0.7316 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.2103, allocations: 260.4 kB / 0.7318 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.775e-05/0.2104, allocations: 22.58 kB / 0.7318 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/0.2104, allocations: 16.86 kB / 0.7318 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.2104, allocations: 3.984 kB / 0.7318 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.2106, allocations: 67.33 kB / 0.7319 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.2106, allocations: 0 / 0.7319 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002411/0.2108, allocations: 73.78 kB / 0.732 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.2109, allocations: 55.41 kB / 0.732 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.211, allocations: 129.8 kB / 0.7322 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.211, allocations: 25.7 kB / 0.7322 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.122e-05/0.2111, allocations: 96.08 kB / 0.7323 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.2111, allocations: 11.95 kB / 0.7323 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.434e-05/0.2112, allocations: 29.7 kB / 0.7323 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2113, allocations: 318.8 kB / 0.7326 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.2115, allocations: 65.69 kB / 0.7327 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.2116, allocations: 92.3 kB / 0.7328 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.2117, allocations: 92.2 kB / 0.7329 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2117, allocations: 4 kB / 0.7329 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003043/0.212, allocations: 200.9 kB / 0.7331 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.685e-05/0.2121, allocations: 41.69 kB / 0.7331 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2121, allocations: 0 / 0.7331 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.2121, allocations: 4 kB / 0.7331 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.822e-05/0.2121, allocations: 4.062 kB / 0.7331 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2121, allocations: 3.938 kB / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.2123, allocations: 27.97 kB / 0.7331 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.2124, allocations: 16.05 kB / 0.7331 GB, free: 11.69 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.000118/0.2125, allocations: 117.8 kB / 0.7333 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/0.2125, allocations: 7.953 kB / 0.7333 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.386e-05/0.2125, allocations: 7.938 kB / 0.7333 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.2125, allocations: 4 kB / 0.7333 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2125, allocations: 0 / 0.7333 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2125, allocations: 0 / 0.7333 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.2126, allocations: 121.2 kB / 0.7334 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.2127, allocations: 3.938 kB / 0.7334 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.662e-05/0.2127, allocations: 4 kB / 0.7334 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.2127, allocations: 4 kB / 0.7334 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.2127, allocations: 0 / 0.7334 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2127, allocations: 0 / 0.7334 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2127, allocations: 0 / 0.7334 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.2128, allocations: 93.05 kB / 0.7335 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.043e-05/0.2128, allocations: 11.89 kB / 0.7335 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.2129, allocations: 0 / 0.7335 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.844e-05/0.2129, allocations: 0 / 0.7335 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.2129, allocations: 11.98 kB / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-06/0.2129, allocations: 0 / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.358e-05/0.213, allocations: 96.25 kB / 0.7336 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.213, allocations: 4 kB / 0.7336 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002221/0.2132, allocations: 23.94 kB / 0.7336 GB, free: 11.12 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.0001617/0.2134, allocations: 95.25 kB / 0.7337 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003174/0.2137, allocations: 157 kB / 0.7339 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2137, allocations: 0 / 0.7339 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.762e-05/0.2137, allocations: 12 kB / 0.7339 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.214, allocations: 28.16 kB / 0.7339 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.2144, allocations: 150.1 kB / 0.7341 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.138e-05/0.2144, allocations: 63.34 kB / 0.7341 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.649e-05/0.2145, allocations: 4 kB / 0.7341 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.2145, allocations: 15.42 kB / 0.7341 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.2145, allocations: 0 / 0.7341 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of Templates: time 0.004958/0.2195, allocations: 1.509 MB / 0.7356 GB, free: 9.074 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.137563664466143] Failed to read output from testmodel.py, exit status != 0: 0.22835582122206688 0.24310898500000003 0.031175554 Calling exit ...