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.001921/0.001921, 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.002421/0.002421, 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.785 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 1.032/1.032, allocations: 149.9 MB / 463 MB, free: 10.36 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.002194/0.002194, allocations: 72.22 kB / 0.6416 GB, free: 9.59 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1873, allocations: 89.18 MB / 0.7286 GB, free: 496 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002669/0.19, allocations: 0.898 MB / 0.7295 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002293/0.1923, allocations: 1.455 MB / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.1924, allocations: 0 / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.125e-05/0.1924, allocations: 19.73 kB / 0.731 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.1926, allocations: 63.56 kB / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.1938, allocations: 440.3 kB / 0.7314 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007856/0.1946, allocations: 495.1 kB / 0.7319 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.1948, allocations: 25.95 kB / 0.7319 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003282/0.1951, allocations: 187.6 kB / 0.7321 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004319/0.1955, allocations: 147.4 kB / 0.7323 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.1957, allocations: 52 kB / 0.7323 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.1959, allocations: 67.92 kB / 0.7324 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.428e-05/0.1959, allocations: 35.92 kB / 0.7324 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.1962, allocations: 155.5 kB / 0.7326 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006027/0.1968, allocations: 0.4907 MB / 0.733 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1968, allocations: 0 / 0.733 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1968, allocations: 0 / 0.733 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.1968, allocations: 0 / 0.733 GB, free: 11.99 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.001032/0.1978, allocations: 0.5663 MB / 0.7336 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1978, allocations: 8.031 kB / 0.7336 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.198, allocations: 28.84 kB / 0.7336 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.1982, allocations: 169.2 kB / 0.7338 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/0.1982, allocations: 24.36 kB / 0.7338 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.389e-05/0.1983, allocations: 24.38 kB / 0.7338 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.1985, allocations: 117.6 kB / 0.7339 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1985, allocations: 192 / 0.7339 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.1986, allocations: 7.938 kB / 0.734 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.1986, allocations: 4 kB / 0.734 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.1987, allocations: 55.89 kB / 0.734 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.1998, allocations: 0.7271 MB / 0.7347 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.2, allocations: 126.4 kB / 0.7348 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.963e-05/0.2001, allocations: 43.48 kB / 0.7349 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.2001, allocations: 8 kB / 0.7349 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003331/0.2004, allocations: 169.1 kB / 0.735 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.2004, allocations: 0 / 0.735 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.0005184/0.2009, allocations: 233.3 kB / 0.7353 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.201, allocations: 132.5 kB / 0.7354 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.2013, allocations: 244.8 kB / 0.7356 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.609e-05/0.2014, allocations: 37.7 kB / 0.7357 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.2015, allocations: 140.4 kB / 0.7358 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.2015, allocations: 27.8 kB / 0.7358 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.2017, allocations: 93.66 kB / 0.7359 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.2019, allocations: 334.8 kB / 0.7362 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/0.2023, allocations: 275 kB / 0.7365 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004427/0.2027, allocations: 357.4 kB / 0.7368 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004878/0.2032, allocations: 368.9 kB / 0.7372 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2032, allocations: 3.938 kB / 0.7372 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00116/0.2044, allocations: 0.6863 MB / 0.7379 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.2045, allocations: 134.8 kB / 0.738 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.2045, allocations: 4.25 kB / 0.738 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.2045, allocations: 8 kB / 0.738 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.674e-05/0.2046, allocations: 15.94 kB / 0.738 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.2046, allocations: 4 kB / 0.738 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006532/0.2053, allocations: 107.8 kB / 0.7381 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.399e-05/0.2054, allocations: 31.98 kB / 0.7382 GB, free: 6.223 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.0001975/0.2055, allocations: 154.2 kB / 0.7383 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.2056, allocations: 27.84 kB / 0.7383 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.253e-05/0.2056, allocations: 17.34 kB / 0.7383 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.2057, allocations: 4 kB / 0.7384 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.2057, allocations: 0 / 0.7384 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.2057, allocations: 4.922 kB / 0.7384 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.2059, allocations: 177.2 kB / 0.7385 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2059, allocations: 4 kB / 0.7385 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.921e-05/0.206, allocations: 15.92 kB / 0.7385 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.206, allocations: 4 kB / 0.7385 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.206, allocations: 7.938 kB / 0.7386 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.206, allocations: 4 kB / 0.7386 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.206, allocations: 4 kB / 0.7386 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.2063, allocations: 227.4 kB / 0.7388 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.2064, allocations: 27.78 kB / 0.7388 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.2064, allocations: 7.984 kB / 0.7388 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.357e-05/0.2065, allocations: 4 kB / 0.7388 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/0.2065, allocations: 19.97 kB / 0.7388 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.2065, allocations: 12 kB / 0.7388 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00018/0.2067, allocations: 172.4 kB / 0.739 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2067, allocations: 0 / 0.739 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003513/0.2071, allocations: 64 kB / 0.7391 GB, free: 5.211 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.0002263/0.2073, allocations: 115.1 kB / 0.7392 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008766/0.2082, allocations: 0.5942 MB / 0.7398 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2082, allocations: 4.188 kB / 0.7398 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.2083, allocations: 55.91 kB / 0.7398 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.2088, allocations: 64.33 kB / 0.7399 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006498/0.2094, allocations: 342.6 kB / 0.7402 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.2095, allocations: 116.9 kB / 0.7403 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.373e-05/0.2096, allocations: 21.64 kB / 0.7403 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/0.2096, allocations: 19.44 kB / 0.7404 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of SimCode: time 3.8e-07/0.2096, allocations: 0 / 0.7404 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of Templates: time 0.01034/0.22, allocations: 5.242 MB / 0.7455 GB, free: 14.64 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 -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.040293186903] Failed to read output from testmodel.py, exit status != 0: 0.22887296229600906 0.24579557500000002 0.045627871 Calling exit ...