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.00136/0.00136, allocations: 113.7 kB / 17.75 MB, free: 5.301 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.001333/0.001333, allocations: 185.3 kB / 20.69 MB, free: 2.371 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.467/1.467, allocations: 222.9 MB / 246.4 MB, free: 4.305 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.091/1.091, allocations: 147.6 MB / 446.2 MB, free: 8.344 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.002021/0.002021, allocations: 61.78 kB / 0.612 GB, free: 37.68 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1728, allocations: 83.17 MB / 0.6933 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Change): time 0.003718/0.1766, allocations: 1.897 MB / 0.6951 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002131/0.1787, allocations: 1.121 MB / 0.6962 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.1789, allocations: 7.031 kB / 0.6962 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004293/0.1793, allocations: 90.08 kB / 0.6963 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.1797, allocations: 102.5 kB / 0.6964 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004893/0.1802, allocations: 160.6 kB / 0.6966 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003297/0.1806, allocations: 210.2 kB / 0.6968 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.1807, allocations: 51.05 kB / 0.6968 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.1809, allocations: 95.12 kB / 0.6969 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.1811, allocations: 106.1 kB / 0.697 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.282e-05/0.1811, allocations: 13.75 kB / 0.697 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.1813, allocations: 55.66 kB / 0.6971 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.21e-05/0.1814, allocations: 53.7 kB / 0.6971 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.1815, allocations: 90.66 kB / 0.6972 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004306/0.1819, allocations: 278.4 kB / 0.6975 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.182, allocations: 0 / 0.6975 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.353e-06/0.182, allocations: 0 / 0.6975 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.182, allocations: 0 / 0.6975 GB, free: 9.812 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.001047/0.183, allocations: 0.5498 MB / 0.698 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1831, allocations: 9.625 kB / 0.698 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.819e-05/0.1832, allocations: 31.75 kB / 0.698 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004335/0.1836, allocations: 287.4 kB / 0.6983 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.1836, allocations: 5.5 kB / 0.6983 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.1837, allocations: 10.88 kB / 0.6983 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.184, allocations: 124.7 kB / 0.6984 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.184, allocations: 3.938 kB / 0.6985 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.1841, allocations: 5.438 kB / 0.6985 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.1841, allocations: 2.75 kB / 0.6985 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002846/0.1844, allocations: 84.8 kB / 0.6985 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007879/0.1852, allocations: 460 kB / 0.699 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/0.1855, allocations: 140.1 kB / 0.6991 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.1857, allocations: 56.77 kB / 0.6992 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.1858, allocations: 0 / 0.6992 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003278/0.1861, allocations: 127.5 kB / 0.6993 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.1861, allocations: 0 / 0.6993 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.000743/0.1869, allocations: 257.2 kB / 0.6995 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.1869, allocations: 51.41 kB / 0.6996 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004001/0.1873, allocations: 334.5 kB / 0.6999 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.1874, allocations: 29.7 kB / 0.6999 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.1875, allocations: 144.4 kB / 0.7001 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.311e-05/0.1875, allocations: 35.77 kB / 0.7001 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.385e-05/0.1876, allocations: 53.69 kB / 0.7002 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.1878, allocations: 338.8 kB / 0.7005 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.188, allocations: 83.95 kB / 0.7006 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.1883, allocations: 129.1 kB / 0.7007 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004191/0.1887, allocations: 189.5 kB / 0.7009 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1887, allocations: 0 / 0.7009 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000597/0.1893, allocations: 284.4 kB / 0.7011 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1894, allocations: 11.94 kB / 0.7011 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1894, allocations: 4.156 kB / 0.7011 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.1894, allocations: 4 kB / 0.7011 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.1896, allocations: 35.97 kB / 0.7012 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.1897, allocations: 7.938 kB / 0.7012 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.1898, allocations: 19.92 kB / 0.7012 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/0.1899, allocations: 8 kB / 0.7012 GB, free: 6.07 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.0001713/0.19, allocations: 161.8 kB / 0.7014 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.1901, allocations: 35.75 kB / 0.7014 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.504e-05/0.1902, allocations: 22.19 kB / 0.7014 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1902, allocations: 7.922 kB / 0.7014 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1902, allocations: 4 kB / 0.7014 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.1902, allocations: 4 kB / 0.7014 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009444/0.1912, allocations: 0.5514 MB / 0.702 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1912, allocations: 0 / 0.702 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.869e-05/0.1913, allocations: 15.98 kB / 0.702 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.1913, allocations: 4 kB / 0.702 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.1913, allocations: 4 kB / 0.702 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.1913, allocations: 3.938 kB / 0.702 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/0.1913, allocations: 3.984 kB / 0.702 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000531/0.1919, allocations: 291.2 kB / 0.7023 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-05/0.192, allocations: 108.9 kB / 0.7024 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/0.192, allocations: 4 kB / 0.7024 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.1922, allocations: 19.97 kB / 0.7024 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.1923, allocations: 15.92 kB / 0.7024 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.1923, allocations: 8 kB / 0.7024 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000245/0.1925, allocations: 209.9 kB / 0.7026 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.5e-07/0.1925, allocations: 0 / 0.7026 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003508/0.1929, allocations: 47.94 kB / 0.7027 GB, free: 4.469 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.001652/0.1946, allocations: 433.4 kB / 0.7031 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005435/0.1951, allocations: 183.7 kB / 0.7033 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1951, allocations: 0 / 0.7033 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.1953, allocations: 72.2 kB / 0.7033 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.1958, allocations: 55.97 kB / 0.7034 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008309/0.1966, allocations: 423.9 kB / 0.7038 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/0.1971, allocations: 0.7519 MB / 0.7045 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.016e-05/0.1972, allocations: 27.42 kB / 0.7046 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1972, allocations: 0 / 0.7046 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of Templates: time 0.006401/0.2036, allocations: 3.279 MB / 0.7078 GB, free: 15.38 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: 8.702549448003992] Failed to read output from testmodel.py, exit status != 0: 0.4668904459103942 0.22642645400000003 0.041564964 Calling exit ...