Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.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.001875/0.001875, allocations: 117.3 kB / 17.76 MB, free: 5.348 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.002338/0.002338, allocations: 188.6 kB / 20.69 MB, free: 2.418 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.546/1.546, allocations: 222.9 MB / 246.4 MB, free: 4.223 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.087/1.087, allocations: 147.6 MB / 446.2 MB, free: 8.383 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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 63.36 kB / 0.612 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1728, allocations: 83.16 MB / 0.6932 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Max): time 0.002184/0.175, allocations: 0.7644 MB / 0.694 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1763, allocations: 0.8647 MB / 0.6948 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.847e-05/0.1764, allocations: 1.625 kB / 0.6948 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.742e-05/0.1764, allocations: 7.875 kB / 0.6948 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.804e-05/0.1765, allocations: 15.86 kB / 0.6949 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.1767, allocations: 39.55 kB / 0.6949 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.1769, allocations: 89.78 kB / 0.695 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.177, allocations: 26.33 kB / 0.695 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.375e-05/0.1771, allocations: 34.34 kB / 0.695 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.47e-05/0.1772, allocations: 56.31 kB / 0.6951 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.1772, allocations: 8.969 kB / 0.6951 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.89e-05/0.1772, allocations: 8.125 kB / 0.6951 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.596e-05/0.1773, allocations: 17.86 kB / 0.6951 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.1773, allocations: 37.41 kB / 0.6952 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.1775, allocations: 88.53 kB / 0.6953 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1775, allocations: 0 / 0.6953 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1775, allocations: 0 / 0.6953 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.1775, allocations: 1.812 kB / 0.6953 GB, free: 11.59 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000747/0.1783, allocations: 394 kB / 0.6956 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.1783, allocations: 10.56 kB / 0.6956 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/0.1784, allocations: 8.172 kB / 0.6956 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.1786, allocations: 184.3 kB / 0.6958 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.1786, allocations: 7.125 kB / 0.6958 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.1786, allocations: 8.25 kB / 0.6958 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.1789, allocations: 100.9 kB / 0.6959 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.179, allocations: 5.312 kB / 0.6959 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.179, allocations: 8 kB / 0.6959 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.179, allocations: 1.375 kB / 0.6959 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003775/0.1794, allocations: 92.16 kB / 0.696 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005823/0.18, allocations: 341.8 kB / 0.6964 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006469/0.1806, allocations: 126.7 kB / 0.6965 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.1808, allocations: 54.94 kB / 0.6965 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.1809, allocations: 1.375 kB / 0.6965 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.1809, allocations: 35.94 kB / 0.6966 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.1809, allocations: 0 / 0.6966 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0007055/0.1816, allocations: 184.2 kB / 0.6967 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.1817, allocations: 52.78 kB / 0.6968 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.1819, allocations: 128.8 kB / 0.6969 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.1819, allocations: 35.08 kB / 0.697 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.182, allocations: 90.83 kB / 0.697 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.182, allocations: 26.58 kB / 0.6971 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.1821, allocations: 20.59 kB / 0.6971 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1822, allocations: 320.2 kB / 0.6974 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.1824, allocations: 43.2 kB / 0.6974 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.1826, allocations: 53.77 kB / 0.6975 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003711/0.183, allocations: 98.08 kB / 0.6976 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.183, allocations: 0 / 0.6976 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004305/0.1834, allocations: 136.4 kB / 0.6977 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1835, allocations: 5.188 kB / 0.6977 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1835, allocations: 0 / 0.6977 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1835, allocations: 5.188 kB / 0.6977 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.1837, allocations: 27.59 kB / 0.6977 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.1837, allocations: 9.141 kB / 0.6977 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.1838, allocations: 11.61 kB / 0.6978 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1838, allocations: 1.062 kB / 0.6978 GB, free: 9.352 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001072/0.1839, allocations: 127.8 kB / 0.6979 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.184, allocations: 6.984 kB / 0.6979 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004989/0.1845, allocations: 155.4 kB / 0.698 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.1845, allocations: 2.062 kB / 0.698 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1845, allocations: 3.938 kB / 0.698 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1845, allocations: 4 kB / 0.698 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.1848, allocations: 195.2 kB / 0.6982 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1848, allocations: 0 / 0.6982 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.185, allocations: 28.28 kB / 0.6983 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.185, allocations: 1.219 kB / 0.6983 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.185, allocations: 1.188 kB / 0.6983 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.185, allocations: 0 / 0.6983 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.185, allocations: 5.156 kB / 0.6983 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000491/0.1855, allocations: 239.7 kB / 0.6985 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.238e-05/0.1856, allocations: 82.75 kB / 0.6986 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.1856, allocations: 5.375 kB / 0.6986 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.1858, allocations: 15.12 kB / 0.6986 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.073e-05/0.1859, allocations: 30.19 kB / 0.6986 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.1859, allocations: 9.359 kB / 0.6986 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.415e-05/0.186, allocations: 94.42 kB / 0.6987 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.186, allocations: 0 / 0.6987 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002304/0.1862, allocations: 15.22 kB / 0.6987 GB, free: 8.445 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001395/0.1864, allocations: 95.03 kB / 0.6988 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004556/0.1868, allocations: 110.9 kB / 0.6989 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1868, allocations: 0 / 0.6989 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.187, allocations: 56.97 kB / 0.699 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.1874, allocations: 11.08 kB / 0.699 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000456/0.1878, allocations: 202.3 kB / 0.6992 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.1882, allocations: 0.6979 MB / 0.6999 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/0.1882, allocations: 12.94 kB / 0.6999 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1883, allocations: 0 / 0.6999 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of Templates: time 0.003038/0.1913, allocations: 1.249 MB / 0.7011 GB, free: 6.156 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.112186703132465] Failed to read output from testmodel.py, exit status != 0: 0.5005880899261683 0.212534734 0.032342731 Calling exit ...