Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Line.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.001891/0.001891, allocations: 113.3 kB / 19.59 MB, free: 2.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.00147/0.00147, allocations: 190.5 kB / 22.85 MB, free: 5.645 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.501/1.501, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.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 0.9801/0.9801, allocations: 149.5 MB / 456.3 MB, free: 1.23 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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Line") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 71.94 kB / 0.6324 GB, free: 9.059 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1959, allocations: 87.88 MB / 0.7183 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Line): time 0.002024/0.1979, allocations: 0.8851 MB / 0.7191 GB, free: 220 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.199, allocations: 0.9013 MB / 0.72 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.24e-05/0.1991, allocations: 3.938 kB / 0.72 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.095e-05/0.1992, allocations: 15.81 kB / 0.72 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.581e-05/0.1992, allocations: 7.875 kB / 0.72 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.1994, allocations: 63.91 kB / 0.7201 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.1997, allocations: 135.7 kB / 0.7202 GB, free: 15.08 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.1998, allocations: 49.39 kB / 0.7203 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.88e-05/0.1999, allocations: 55.78 kB / 0.7203 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.13e-05/0.2, allocations: 59.7 kB / 0.7204 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.2, allocations: 16 kB / 0.7204 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.161e-05/0.2, allocations: 12 kB / 0.7204 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.034e-05/0.2001, allocations: 35.89 kB / 0.7204 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.322e-05/0.2001, allocations: 59.66 kB / 0.7205 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.2003, allocations: 135.4 kB / 0.7206 GB, free: 14.66 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2003, allocations: 0 / 0.7206 GB, free: 14.66 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2003, allocations: 3.938 kB / 0.7206 GB, free: 14.66 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.2003, allocations: 0 / 0.7206 GB, free: 14.66 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006506/0.201, allocations: 375.8 kB / 0.721 GB, free: 14.26 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.201, allocations: 8.625 kB / 0.721 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.268e-05/0.2011, allocations: 16.84 kB / 0.721 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.2013, allocations: 154.3 kB / 0.7212 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.2013, allocations: 12.31 kB / 0.7212 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.2014, allocations: 16.38 kB / 0.7212 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/0.2017, allocations: 166.1 kB / 0.7213 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2017, allocations: 192 / 0.7213 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.2017, allocations: 7.938 kB / 0.7213 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.2018, allocations: 4 kB / 0.7214 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003325/0.2021, allocations: 123.9 kB / 0.7215 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007817/0.2029, allocations: 459.3 kB / 0.7219 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.2031, allocations: 82.42 kB / 0.722 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.2032, allocations: 40.83 kB / 0.722 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.2033, allocations: 4 kB / 0.722 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.2033, allocations: 34.56 kB / 0.7221 GB, free: 13.06 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.2033, allocations: 4 kB / 0.7221 GB, free: 13.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0005093/0.2038, allocations: 157.7 kB / 0.7222 GB, free: 12.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.2038, allocations: 55.41 kB / 0.7223 GB, free: 12.83 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.204, allocations: 191.6 kB / 0.7225 GB, free: 12.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.2041, allocations: 29.7 kB / 0.7225 GB, free: 12.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/0.2041, allocations: 116 kB / 0.7226 GB, free: 12.47 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.2042, allocations: 35.72 kB / 0.7226 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.2042, allocations: 29.72 kB / 0.7227 GB, free: 12.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.2044, allocations: 326.8 kB / 0.723 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.2045, allocations: 39.98 kB / 0.723 GB, free: 12.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.2046, allocations: 43.91 kB / 0.723 GB, free: 11.99 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.2049, allocations: 99.62 kB / 0.7231 GB, free: 11.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2049, allocations: 4 kB / 0.7231 GB, free: 11.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003294/0.2052, allocations: 149.5 kB / 0.7233 GB, free: 11.74 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2052, allocations: 8 kB / 0.7233 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.2052, allocations: 0 / 0.7233 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.2052, allocations: 0 / 0.7233 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.2054, allocations: 27.92 kB / 0.7233 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2054, allocations: 0 / 0.7233 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.2055, allocations: 23.83 kB / 0.7233 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.2055, allocations: 12.38 kB / 0.7234 GB, free: 11.67 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.97e-05/0.2056, allocations: 117.8 kB / 0.7235 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.2057, allocations: 15.91 kB / 0.7235 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003814/0.2061, allocations: 142.9 kB / 0.7236 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2061, allocations: 0 / 0.7236 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2061, allocations: 4 kB / 0.7236 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2061, allocations: 0 / 0.7236 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006194/0.2067, allocations: 435.8 kB / 0.724 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2067, allocations: 0 / 0.724 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.2068, allocations: 19.98 kB / 0.7241 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.2068, allocations: 4 kB / 0.7241 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.2068, allocations: 4 kB / 0.7241 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.2068, allocations: 8.078 kB / 0.7241 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.2068, allocations: 4 kB / 0.7241 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.2072, allocations: 233.9 kB / 0.7243 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.2072, allocations: 19.89 kB / 0.7243 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.2072, allocations: 8 kB / 0.7243 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.2074, allocations: 15.92 kB / 0.7243 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.2074, allocations: 15.92 kB / 0.7244 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.2074, allocations: 4 kB / 0.7244 GB, free: 10.53 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001169/0.2075, allocations: 140.1 kB / 0.7245 GB, free: 10.39 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2075, allocations: 0 / 0.7245 GB, free: 10.39 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002476/0.2078, allocations: 24 kB / 0.7245 GB, free: 10.37 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001217/0.2079, allocations: 99.25 kB / 0.7246 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003176/0.2082, allocations: 95.88 kB / 0.7247 GB, free: 10.17 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2082, allocations: 0 / 0.7247 GB, free: 10.17 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.2084, allocations: 47.91 kB / 0.7247 GB, free: 10.12 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.2087, allocations: 24.12 kB / 0.7248 GB, free: 10.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004828/0.2092, allocations: 261.3 kB / 0.725 GB, free: 9.812 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.2095, allocations: 0.7125 MB / 0.7257 GB, free: 9.074 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.33e-05/0.2095, allocations: 17.06 kB / 0.7257 GB, free: 9.059 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.2096, allocations: 19.38 kB / 0.7258 GB, free: 9.039 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.2096, allocations: 0 / 0.7258 GB, free: 9.039 MB / 0.545 GB Notification: Performance of Templates: time 0.004296/0.2139, allocations: 1.224 MB / 0.7269 GB, free: 7.82 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Line.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.040882584638894] Failed to read output from testmodel.py, exit status != 0: 0.22279880847781897 0.23772349899999995 0.034133989 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f8c72ac17b0>