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.001254/0.001254, allocations: 108.8 kB / 17.07 MB, free: 6 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.001269/0.001269, allocations: 191.8 kB / 20.02 MB, free: 3.07 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.436/1.436, allocations: 222.9 MB / 245.7 MB, free: 4.227 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.098/1.098, allocations: 147.6 MB / 445.5 MB, free: 8.281 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.00198/0.00198, allocations: 66.83 kB / 0.6114 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1605, allocations: 83.16 MB / 0.6926 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002164/0.1627, allocations: 0.9394 MB / 0.6935 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001985/0.1647, allocations: 1.434 MB / 0.6949 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.527e-05/0.1648, allocations: 2.531 kB / 0.6949 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.997e-05/0.1648, allocations: 15.75 kB / 0.6949 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.165, allocations: 48.72 kB / 0.695 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.1661, allocations: 445 kB / 0.6954 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005954/0.1668, allocations: 0.5166 MB / 0.6959 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.1669, allocations: 50.27 kB / 0.6959 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.1671, allocations: 183.1 kB / 0.6961 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.1674, allocations: 167.2 kB / 0.6963 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.598e-05/0.1675, allocations: 49.5 kB / 0.6963 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.1676, allocations: 64.36 kB / 0.6964 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.192e-05/0.1677, allocations: 30.8 kB / 0.6964 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.1679, allocations: 176.7 kB / 0.6966 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000541/0.1684, allocations: 0.4898 MB / 0.6971 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1684, allocations: 0 / 0.6971 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.502e-06/0.1684, allocations: 4 kB / 0.6971 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.1685, allocations: 1.094 kB / 0.6971 GB, free: 9.723 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.0008894/0.1694, allocations: 0.6333 MB / 0.6977 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1694, allocations: 14.12 kB / 0.6977 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.947e-05/0.1695, allocations: 30.64 kB / 0.6977 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.1697, allocations: 230.9 kB / 0.6979 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.1698, allocations: 15.62 kB / 0.698 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.469e-05/0.1698, allocations: 21.81 kB / 0.698 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.1701, allocations: 121.6 kB / 0.6981 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1701, allocations: 4.188 kB / 0.6981 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.1701, allocations: 3.938 kB / 0.6981 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1701, allocations: 3.984 kB / 0.6981 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.1703, allocations: 55.92 kB / 0.6982 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.1713, allocations: 0.8796 MB / 0.699 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.1715, allocations: 114.4 kB / 0.6991 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.535e-05/0.1716, allocations: 51.48 kB / 0.6992 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.1716, allocations: 4 kB / 0.6992 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.1718, allocations: 172.6 kB / 0.6993 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.1719, allocations: 0 / 0.6993 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.0004992/0.1724, allocations: 238 kB / 0.6996 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.384e-05/0.1724, allocations: 132.5 kB / 0.6997 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.1727, allocations: 244.9 kB / 0.6999 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.018e-05/0.1728, allocations: 33.7 kB / 0.7 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.1729, allocations: 140.4 kB / 0.7001 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.173, allocations: 35.75 kB / 0.7001 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.1732, allocations: 89.64 kB / 0.7002 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1733, allocations: 334.8 kB / 0.7005 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/0.1736, allocations: 144.2 kB / 0.7007 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003645/0.174, allocations: 228.2 kB / 0.7009 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/0.1745, allocations: 364.9 kB / 0.7012 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1745, allocations: 0 / 0.7012 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001004/0.1755, allocations: 0.5626 MB / 0.7018 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.1757, allocations: 138.8 kB / 0.7019 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.1757, allocations: 4 kB / 0.7019 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.1757, allocations: 7.984 kB / 0.7019 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.845e-05/0.1758, allocations: 8 kB / 0.7019 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.1758, allocations: 11.92 kB / 0.702 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006783/0.1765, allocations: 115.7 kB / 0.7021 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.339e-05/0.1766, allocations: 31.97 kB / 0.7021 GB, free: 4.219 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.0001715/0.1767, allocations: 141.8 kB / 0.7022 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.1768, allocations: 23.86 kB / 0.7023 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.849e-05/0.1768, allocations: 21.23 kB / 0.7023 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.1769, allocations: 4 kB / 0.7023 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.1769, allocations: 4 kB / 0.7023 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/0.1769, allocations: 7.938 kB / 0.7023 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.1772, allocations: 261.5 kB / 0.7025 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1772, allocations: 4 kB / 0.7025 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.982e-05/0.1772, allocations: 12 kB / 0.7026 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1773, allocations: 0 / 0.7026 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.1773, allocations: 4 kB / 0.7026 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1773, allocations: 0 / 0.7026 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1773, allocations: 0 / 0.7026 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/0.1776, allocations: 223.4 kB / 0.7028 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.165e-05/0.1777, allocations: 97 kB / 0.7029 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.1777, allocations: 4 kB / 0.7029 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.429e-05/0.1778, allocations: 15.94 kB / 0.7029 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.1778, allocations: 11.92 kB / 0.7029 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.1779, allocations: 19.98 kB / 0.7029 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001554/0.178, allocations: 160.5 kB / 0.7031 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.178, allocations: 0 / 0.7031 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003406/0.1784, allocations: 79.88 kB / 0.7031 GB, free: 3.039 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.000168/0.1785, allocations: 104.4 kB / 0.7032 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000765/0.1793, allocations: 0.533 MB / 0.7038 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1793, allocations: 0 / 0.7038 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.1795, allocations: 68.75 kB / 0.7038 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.1799, allocations: 64.38 kB / 0.7039 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006498/0.1806, allocations: 341.2 kB / 0.7042 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.181, allocations: 0.7359 MB / 0.7049 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.855e-05/0.181, allocations: 21.53 kB / 0.705 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.1811, allocations: 15.44 kB / 0.705 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.1811, allocations: 4 kB / 0.705 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of Templates: time 0.009228/0.1903, allocations: 4.586 MB / 0.7094 GB, free: 12.53 MB / 0.5294 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: 5.760050646960735] Failed to read output from testmodel.py, exit status != 0: 0.46732406318187714 0.21144791500000001 0.040444082 Calling exit ...