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.001273/0.001273, allocations: 103.8 kB / 20.49 MB, free: 1.32 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.001408/0.001408, allocations: 217.1 kB / 23.79 MB, free: 4.465 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.411/1.411, allocations: 230.6 MB / 257.6 MB, free: 7.789 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.9198/0.9198, allocations: 150 MB / 464 MB, free: 10.2 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.002024/0.002024, allocations: 70.58 kB / 0.6425 GB, free: 9.387 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1804, allocations: 89.17 MB / 0.7296 GB, free: 296 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002301/0.1827, allocations: 0.898 MB / 0.7305 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00213/0.1848, allocations: 1.467 MB / 0.7319 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.266e-05/0.1849, allocations: 0 / 0.7319 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.443e-05/0.1849, allocations: 11.81 kB / 0.7319 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001666/0.1851, allocations: 59.56 kB / 0.732 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.1862, allocations: 442.8 kB / 0.7324 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005497/0.1868, allocations: 495.1 kB / 0.7329 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.1869, allocations: 25.95 kB / 0.7329 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.1872, allocations: 183.6 kB / 0.7331 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.1874, allocations: 151.4 kB / 0.7332 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.795e-05/0.1875, allocations: 52 kB / 0.7333 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.1876, allocations: 56 kB / 0.7333 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.168e-05/0.1877, allocations: 43.78 kB / 0.7334 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.1878, allocations: 151.5 kB / 0.7335 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005539/0.1884, allocations: 0.4945 MB / 0.734 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1884, allocations: 4 kB / 0.734 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1884, allocations: 0 / 0.734 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.1884, allocations: 3.938 kB / 0.734 GB, free: 11.79 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.0008594/0.1893, allocations: 0.5625 MB / 0.7345 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1893, allocations: 8.031 kB / 0.7345 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.402e-05/0.1894, allocations: 28.84 kB / 0.7346 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.1896, allocations: 173.2 kB / 0.7347 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.1896, allocations: 16.38 kB / 0.7348 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.073e-05/0.1897, allocations: 16.38 kB / 0.7348 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.1899, allocations: 123.8 kB / 0.7349 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1899, allocations: 8.172 kB / 0.7349 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.1899, allocations: 15.92 kB / 0.7349 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1899, allocations: 0 / 0.7349 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.1901, allocations: 51.92 kB / 0.735 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.1911, allocations: 0.7271 MB / 0.7357 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.1912, allocations: 122.4 kB / 0.7358 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.486e-05/0.1913, allocations: 43.5 kB / 0.7358 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.1913, allocations: 7.938 kB / 0.7358 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000334/0.1917, allocations: 170.7 kB / 0.736 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.1917, allocations: 0 / 0.736 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.0004992/0.1922, allocations: 229.4 kB / 0.7362 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.1923, allocations: 136.5 kB / 0.7363 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.1926, allocations: 244.8 kB / 0.7366 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.722e-05/0.1926, allocations: 37.7 kB / 0.7366 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.1928, allocations: 136.4 kB / 0.7367 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.1928, allocations: 31.78 kB / 0.7368 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.193, allocations: 93.66 kB / 0.7369 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.1931, allocations: 338.8 kB / 0.7372 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003894/0.1935, allocations: 275 kB / 0.7374 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00045/0.194, allocations: 357.5 kB / 0.7378 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000474/0.1945, allocations: 360.9 kB / 0.7381 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1945, allocations: 4 kB / 0.7381 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00107/0.1955, allocations: 0.6941 MB / 0.7388 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.1956, allocations: 134.8 kB / 0.7389 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.1957, allocations: 4 kB / 0.7389 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.1957, allocations: 0 / 0.7389 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.684e-05/0.1958, allocations: 23.92 kB / 0.739 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.1958, allocations: 4 kB / 0.739 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006336/0.1964, allocations: 108 kB / 0.7391 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.925e-05/0.1965, allocations: 27.98 kB / 0.7391 GB, free: 6.023 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.0001959/0.1967, allocations: 162.2 kB / 0.7393 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.1967, allocations: 19.86 kB / 0.7393 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.639e-05/0.1968, allocations: 26.27 kB / 0.7393 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1968, allocations: 0 / 0.7393 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.1968, allocations: 7.938 kB / 0.7393 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1968, allocations: 0 / 0.7393 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.197, allocations: 181.2 kB / 0.7395 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.197, allocations: 0 / 0.7395 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.197, allocations: 8 kB / 0.7395 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.1971, allocations: 4 kB / 0.7395 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.1971, allocations: 7.984 kB / 0.7395 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.1971, allocations: 11.94 kB / 0.7395 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1971, allocations: 0 / 0.7395 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00033/0.1974, allocations: 215.5 kB / 0.7397 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.034e-05/0.1974, allocations: 31.78 kB / 0.7397 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.1975, allocations: 4 kB / 0.7398 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.883e-05/0.1975, allocations: 7.938 kB / 0.7398 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/0.1976, allocations: 23.91 kB / 0.7398 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.1976, allocations: 4 kB / 0.7398 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000166/0.1978, allocations: 176.4 kB / 0.74 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1978, allocations: 0 / 0.74 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003231/0.1981, allocations: 64 kB / 0.74 GB, free: 5.016 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.0001725/0.1983, allocations: 111.2 kB / 0.7401 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008523/0.1991, allocations: 0.6043 MB / 0.7407 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1991, allocations: 3.938 kB / 0.7407 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.1992, allocations: 51.92 kB / 0.7408 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.1997, allocations: 73.8 kB / 0.7408 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006512/0.2003, allocations: 338.7 kB / 0.7412 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.2005, allocations: 120.9 kB / 0.7413 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.602e-05/0.2005, allocations: 21.62 kB / 0.7413 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.2006, allocations: 15.44 kB / 0.7413 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.2006, allocations: 4 kB / 0.7413 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of Templates: time 0.009332/0.2099, allocations: 5.24 MB / 0.7464 GB, free: 14.45 MB / 0.5762 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.431775890989229] Failed to read output from testmodel.py, exit status != 0: 0.2183763599023223 0.23905181900000003 0.046625083000000005 Calling exit ...