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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001527, allocations: 111 kB / 17.75 MB, free: 5.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 186.9 kB / 20.69 MB, free: 2.395 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 222.9 MB / 246.4 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.108/1.108, allocations: 147.6 MB / 446.2 MB, free: 8.27 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 67.22 kB / 0.612 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1754, allocations: 83.16 MB / 0.6933 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002416/0.1779, allocations: 0.9496 MB / 0.6942 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00225/0.1801, allocations: 1.428 MB / 0.6956 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.1803, allocations: 1.375 kB / 0.6956 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.266e-05/0.1804, allocations: 11.81 kB / 0.6956 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.1806, allocations: 53.06 kB / 0.6956 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.1818, allocations: 439.5 kB / 0.6961 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006465/0.1824, allocations: 0.5156 MB / 0.6966 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.1826, allocations: 50.69 kB / 0.6966 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.1828, allocations: 183.3 kB / 0.6968 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.183, allocations: 166.9 kB / 0.697 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.729e-05/0.1831, allocations: 49.72 kB / 0.697 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.1833, allocations: 68.02 kB / 0.6971 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.487e-05/0.1833, allocations: 40.09 kB / 0.6971 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.1835, allocations: 167.4 kB / 0.6973 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005467/0.1841, allocations: 0.4935 MB / 0.6977 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1841, allocations: 0 / 0.6977 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.824e-06/0.1841, allocations: 1.375 kB / 0.6977 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.1841, allocations: 0 / 0.6977 GB, free: 9.695 MB / 0.5137 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.0008806/0.185, allocations: 0.6301 MB / 0.6984 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.185, allocations: 9.594 kB / 0.6984 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.7e-05/0.1851, allocations: 30.73 kB / 0.6984 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.1854, allocations: 227.4 kB / 0.6986 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.1854, allocations: 22.89 kB / 0.6986 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/0.1855, allocations: 22.81 kB / 0.6987 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.1857, allocations: 125.5 kB / 0.6988 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1857, allocations: 192 / 0.6988 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.1857, allocations: 5.75 kB / 0.6988 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1857, allocations: 1.969 kB / 0.6988 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.1859, allocations: 65.28 kB / 0.6988 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.1869, allocations: 0.8679 MB / 0.6997 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.1871, allocations: 114.4 kB / 0.6998 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.603e-05/0.1872, allocations: 51.48 kB / 0.6999 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.1872, allocations: 7.938 kB / 0.6999 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002976/0.1875, allocations: 176.7 kB / 0.7 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.1875, allocations: 0 / 0.7 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.0004836/0.188, allocations: 226 kB / 0.7002 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.118e-05/0.1881, allocations: 144.5 kB / 0.7004 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.1884, allocations: 233 kB / 0.7006 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.158e-05/0.1884, allocations: 37.7 kB / 0.7006 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.1886, allocations: 136.5 kB / 0.7008 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.1886, allocations: 31.69 kB / 0.7008 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.1888, allocations: 93.66 kB / 0.7009 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.189, allocations: 334.8 kB / 0.7012 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.1893, allocations: 148.2 kB / 0.7014 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.1896, allocations: 222.7 kB / 0.7016 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004834/0.1901, allocations: 368.9 kB / 0.7019 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1901, allocations: 0 / 0.7019 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009672/0.1911, allocations: 0.5588 MB / 0.7025 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.1912, allocations: 138.8 kB / 0.7026 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1912, allocations: 4.047 kB / 0.7026 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.1913, allocations: 7.984 kB / 0.7026 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.376e-05/0.1914, allocations: 19.92 kB / 0.7026 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.1914, allocations: 4 kB / 0.7026 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006631/0.192, allocations: 116 kB / 0.7027 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/0.1921, allocations: 27.98 kB / 0.7028 GB, free: 4.262 MB / 0.5137 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.0001619/0.1923, allocations: 149.8 kB / 0.7029 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.1923, allocations: 19.86 kB / 0.7029 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.648e-05/0.1924, allocations: 25.23 kB / 0.703 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1924, allocations: 0 / 0.703 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.1924, allocations: 4 kB / 0.703 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.1924, allocations: 3.938 kB / 0.703 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.1927, allocations: 257.5 kB / 0.7032 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1927, allocations: 0 / 0.7032 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.844e-05/0.1927, allocations: 11.98 kB / 0.7032 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1927, allocations: 3.938 kB / 0.7032 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.1928, allocations: 12 kB / 0.7032 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.1928, allocations: 7.938 kB / 0.7032 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1928, allocations: 3.984 kB / 0.7032 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.1931, allocations: 215.4 kB / 0.7034 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.325e-05/0.1932, allocations: 93.02 kB / 0.7035 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.1932, allocations: 11.98 kB / 0.7035 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.023e-05/0.1933, allocations: 4 kB / 0.7036 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.1933, allocations: 27.8 kB / 0.7036 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.1934, allocations: 4 kB / 0.7036 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001687/0.1935, allocations: 172.5 kB / 0.7037 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1935, allocations: 0 / 0.7037 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003175/0.1939, allocations: 71.89 kB / 0.7038 GB, free: 3.078 MB / 0.5137 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.0001668/0.194, allocations: 112.4 kB / 0.7039 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007652/0.1948, allocations: 0.5325 MB / 0.7044 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1948, allocations: 0 / 0.7044 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.195, allocations: 79.92 kB / 0.7045 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.1954, allocations: 71.28 kB / 0.7046 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007292/0.1961, allocations: 368.3 kB / 0.7049 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.1966, allocations: 0.732 MB / 0.7057 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/0.1966, allocations: 19.44 kB / 0.7057 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.1966, allocations: 0 / 0.7057 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of Templates: time 0.006297/0.2029, allocations: 3.511 MB / 0.7091 GB, free: 13.58 MB / 0.5294 GB " [Timeout remaining time 659] 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.460394229041412] Failed to read output from testmodel.py, exit status != 0: 0.566496100043878 0.223147265 0.036427309000000005 Calling exit ...