Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.001433/0.001433, allocations: 113.2 kB / 17.75 MB, free: 5.168 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.00145/0.00145, allocations: 185.3 kB / 20.69 MB, free: 2.238 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.434/1.434, allocations: 222.9 MB / 246.4 MB, free: 4.32 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.095/1.095, allocations: 147.6 MB / 446.2 MB, free: 8.586 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.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002029, allocations: 66.62 kB / 0.6121 GB, free: 37.78 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1892, allocations: 83.16 MB / 0.6933 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002786/0.1921, allocations: 0.8637 MB / 0.6941 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001929/0.194, allocations: 1.174 MB / 0.6953 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.225e-05/0.1941, allocations: 1.281 kB / 0.6953 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.932e-05/0.1942, allocations: 15.86 kB / 0.6953 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.857e-05/0.1943, allocations: 13.83 kB / 0.6953 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005898/0.1949, allocations: 152.1 kB / 0.6955 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002743/0.1951, allocations: 172.5 kB / 0.6956 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.1953, allocations: 42.81 kB / 0.6957 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.1954, allocations: 66.5 kB / 0.6957 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.1956, allocations: 64.73 kB / 0.6958 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/0.1956, allocations: 15.03 kB / 0.6958 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.974e-05/0.1957, allocations: 36 kB / 0.6958 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.182e-05/0.1958, allocations: 24.83 kB / 0.6959 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.792e-05/0.1959, allocations: 58.97 kB / 0.6959 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.1961, allocations: 170.2 kB / 0.6961 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.1962, allocations: 4 kB / 0.6961 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.933e-06/0.1962, allocations: 3.938 kB / 0.6961 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.1962, allocations: 1.438 kB / 0.6961 GB, free: 11.06 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.0008477/0.197, allocations: 456 kB / 0.6965 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.1971, allocations: 14.66 kB / 0.6965 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.569e-05/0.1972, allocations: 17.53 kB / 0.6966 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006025/0.1978, allocations: 246.1 kB / 0.6968 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.1978, allocations: 6.688 kB / 0.6968 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.274e-05/0.1979, allocations: 17.27 kB / 0.6968 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.1981, allocations: 94.14 kB / 0.6969 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1981, allocations: 7.875 kB / 0.6969 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.1982, allocations: 9.391 kB / 0.6969 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1982, allocations: 1.281 kB / 0.6969 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.1984, allocations: 47.3 kB / 0.697 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008796/0.1993, allocations: 384.9 kB / 0.6973 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.1994, allocations: 38.92 kB / 0.6974 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.863e-05/0.1995, allocations: 29.34 kB / 0.6974 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1996, allocations: 1.375 kB / 0.6974 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003028/0.1999, allocations: 98.73 kB / 0.6975 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.883e-06/0.1999, allocations: 0 / 0.6975 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0004688/0.2003, allocations: 138.1 kB / 0.6976 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.2004, allocations: 56.72 kB / 0.6977 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.2006, allocations: 148 kB / 0.6978 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.2006, allocations: 32.44 kB / 0.6979 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/0.2007, allocations: 107 kB / 0.698 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.2008, allocations: 32 kB / 0.698 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.2009, allocations: 48.94 kB / 0.698 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.201, allocations: 321.6 kB / 0.6983 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.2012, allocations: 50.09 kB / 0.6984 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.2015, allocations: 126.9 kB / 0.6985 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003973/0.2019, allocations: 206.3 kB / 0.6987 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2019, allocations: 1.375 kB / 0.6987 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005476/0.2025, allocations: 249.1 kB / 0.6989 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.152e-05/0.2025, allocations: 32.95 kB / 0.699 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.2026, allocations: 2.688 kB / 0.699 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.2026, allocations: 5 kB / 0.699 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.2027, allocations: 34.34 kB / 0.699 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/0.2027, allocations: 15.34 kB / 0.699 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.2031, allocations: 38.23 kB / 0.6991 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.2031, allocations: 17.08 kB / 0.6991 GB, free: 8.348 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001368/0.2033, allocations: 119.4 kB / 0.6992 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.2033, allocations: 8.703 kB / 0.6992 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.798e-05/0.2033, allocations: 21.98 kB / 0.6992 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2033, allocations: 4 kB / 0.6992 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.2034, allocations: 3.938 kB / 0.6992 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.2034, allocations: 0 / 0.6992 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006477/0.204, allocations: 398.3 kB / 0.6996 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.204, allocations: 3.984 kB / 0.6996 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.374e-05/0.2041, allocations: 12 kB / 0.6996 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.2041, allocations: 3.938 kB / 0.6996 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.2042, allocations: 7.984 kB / 0.6996 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2042, allocations: 0 / 0.6996 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.2042, allocations: 4 kB / 0.6996 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004566/0.2046, allocations: 232 kB / 0.6999 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.082e-05/0.2047, allocations: 97.11 kB / 0.7 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.2048, allocations: 3.984 kB / 0.7 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.412e-05/0.2049, allocations: 8 kB / 0.7 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.2049, allocations: 11.98 kB / 0.7 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.2049, allocations: 7.938 kB / 0.7 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.771e-05/0.205, allocations: 113.1 kB / 0.7001 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.205, allocations: 0 / 0.7001 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002948/0.2053, allocations: 28 kB / 0.7001 GB, free: 7.195 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002195/0.2056, allocations: 115.2 kB / 0.7002 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000467/0.206, allocations: 187.3 kB / 0.7004 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.206, allocations: 0 / 0.7004 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.2062, allocations: 39.91 kB / 0.7004 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.2065, allocations: 20.73 kB / 0.7005 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006138/0.2071, allocations: 300.5 kB / 0.7008 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.2075, allocations: 0.7044 MB / 0.7014 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.2076, allocations: 15.44 kB / 0.7015 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of SimCode: time 3.3e-07/0.2076, allocations: 0 / 0.7015 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of Templates: time 0.004237/0.2118, allocations: 1.739 MB / 0.7032 GB, free: 4.02 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.138275346020237] Failed to read output from testmodel.py, exit status != 0: 0.576567002106458 0.23336519600000002 0.034496990000000005 Calling exit ...