Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.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.001363/0.001363, allocations: 111.8 kB / 17.08 MB, free: 5.988 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.001322/0.001322, allocations: 194.7 kB / 20.03 MB, free: 3.055 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.452/1.452, allocations: 222.9 MB / 245.7 MB, free: 4.211 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.076/1.076, allocations: 147.6 MB / 445.5 MB, free: 8.496 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.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 70.36 kB / 0.6114 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1627, allocations: 83.16 MB / 0.6926 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Change): time 0.003868/0.1666, allocations: 1.898 MB / 0.6944 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00227/0.1689, allocations: 1.122 MB / 0.6955 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002218/0.1692, allocations: 1.375 kB / 0.6955 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004631/0.1696, allocations: 99.3 kB / 0.6956 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003688/0.17, allocations: 93.72 kB / 0.6957 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004993/0.1706, allocations: 163.1 kB / 0.6959 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003398/0.1709, allocations: 214.1 kB / 0.6961 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.1711, allocations: 50.22 kB / 0.6961 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.1713, allocations: 92.8 kB / 0.6962 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.1714, allocations: 105.1 kB / 0.6963 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.1715, allocations: 13.53 kB / 0.6963 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.1716, allocations: 55.42 kB / 0.6964 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.994e-05/0.1717, allocations: 54.42 kB / 0.6964 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.1718, allocations: 98.98 kB / 0.6965 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003976/0.1722, allocations: 272.8 kB / 0.6968 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1722, allocations: 0 / 0.6968 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1723, allocations: 1.125 kB / 0.6968 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.1723, allocations: 0 / 0.6968 GB, free: 9.992 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0009812/0.1732, allocations: 0.5488 MB / 0.6973 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1733, allocations: 9.562 kB / 0.6973 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.718e-05/0.1734, allocations: 27.94 kB / 0.6974 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.1738, allocations: 291.7 kB / 0.6976 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.1738, allocations: 5.625 kB / 0.6976 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.1739, allocations: 10.94 kB / 0.6976 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.1742, allocations: 125.4 kB / 0.6978 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1742, allocations: 0 / 0.6978 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.1742, allocations: 9.062 kB / 0.6978 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1742, allocations: 6.312 kB / 0.6978 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002907/0.1745, allocations: 85.52 kB / 0.6979 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007796/0.1753, allocations: 454.8 kB / 0.6983 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.1757, allocations: 134.6 kB / 0.6984 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.1759, allocations: 60.83 kB / 0.6985 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.1759, allocations: 0 / 0.6985 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003015/0.1762, allocations: 131.4 kB / 0.6986 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.542e-06/0.1762, allocations: 0 / 0.6986 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.0007086/0.177, allocations: 256 kB / 0.6989 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.177, allocations: 55.41 kB / 0.6989 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.1774, allocations: 330.5 kB / 0.6992 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.1774, allocations: 33.7 kB / 0.6993 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.1776, allocations: 136.5 kB / 0.6994 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.694e-05/0.1776, allocations: 43.67 kB / 0.6994 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.278e-05/0.1777, allocations: 53.7 kB / 0.6995 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1779, allocations: 342.8 kB / 0.6998 GB, free: 7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.1781, allocations: 83.94 kB / 0.6999 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.1784, allocations: 129 kB / 0.7 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.1788, allocations: 190.7 kB / 0.7002 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1788, allocations: 0 / 0.7002 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005785/0.1794, allocations: 285.2 kB / 0.7005 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1794, allocations: 4 kB / 0.7005 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1794, allocations: 4 kB / 0.7005 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1794, allocations: 0 / 0.7005 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.1797, allocations: 43.91 kB / 0.7005 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.1797, allocations: 7.984 kB / 0.7005 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.1798, allocations: 24.08 kB / 0.7005 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.1799, allocations: 15.98 kB / 0.7006 GB, free: 6.188 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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.0001566/0.18, allocations: 153.8 kB / 0.7007 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.1801, allocations: 35.69 kB / 0.7007 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.584e-05/0.1801, allocations: 26.17 kB / 0.7008 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1801, allocations: 0 / 0.7008 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1802, allocations: 0 / 0.7008 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1802, allocations: 0 / 0.7008 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008496/0.181, allocations: 0.549 MB / 0.7013 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.181, allocations: 4 kB / 0.7013 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.616e-05/0.1811, allocations: 11.98 kB / 0.7013 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1811, allocations: 0 / 0.7013 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.1812, allocations: 15.92 kB / 0.7013 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1812, allocations: 0 / 0.7013 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1812, allocations: 0 / 0.7013 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.1817, allocations: 303.1 kB / 0.7016 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.349e-05/0.1818, allocations: 101 kB / 0.7017 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.1818, allocations: 3.984 kB / 0.7017 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.182, allocations: 19.98 kB / 0.7017 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.084e-05/0.1821, allocations: 15.98 kB / 0.7017 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.1821, allocations: 7.984 kB / 0.7018 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002324/0.1823, allocations: 213.9 kB / 0.702 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1823, allocations: 0 / 0.702 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003172/0.1827, allocations: 47.94 kB / 0.702 GB, free: 4.598 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001543/0.1842, allocations: 422.6 kB / 0.7024 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004985/0.1847, allocations: 182.3 kB / 0.7026 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1847, allocations: 0 / 0.7026 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.1849, allocations: 75.89 kB / 0.7027 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.1854, allocations: 65.55 kB / 0.7027 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007612/0.1861, allocations: 395.9 kB / 0.7031 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.1866, allocations: 0.7522 MB / 0.7038 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.1867, allocations: 33.94 kB / 0.7039 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.952e-05/0.1868, allocations: 23.44 kB / 0.7039 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1868, allocations: 4 kB / 0.7039 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of Templates: time 0.007362/0.1941, allocations: 3.02 MB / 0.7068 GB, free: 15.78 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.750573844183236] Failed to read output from testmodel.py, exit status != 0: 0.47640247689560056 0.21494610600000003 0.039958151000000004 Calling exit ...