Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 100.4 kB / 20.45 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 207 kB / 23.74 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.424/1.424, allocations: 230.6 MB / 257.5 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9363/0.9363, allocations: 149.9 MB / 463.8 MB, free: 10.31 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 66.69 kB / 0.6423 GB, free: 9.594 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1863, allocations: 89.17 MB / 0.7294 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003079/0.1894, allocations: 1.415 MB / 0.7307 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003784/0.1932, allocations: 2.413 MB / 0.7331 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.1932, allocations: 4 kB / 0.7331 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.1951, allocations: 0.5352 MB / 0.7336 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.176e-05/0.1952, allocations: 31.89 kB / 0.7337 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 5.31e-06/0.1952, allocations: 0 / 0.7337 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.1955, allocations: 162.9 kB / 0.7338 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.14e-05/0.1955, allocations: 8.594 kB / 0.7338 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.1956, allocations: 59.73 kB / 0.7339 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.1958, allocations: 79.58 kB / 0.734 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.1958, allocations: 0 / 0.734 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.1969, allocations: 407.5 kB / 0.7343 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.379e-05/0.197, allocations: 43.77 kB / 0.7344 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.941e-05/0.1971, allocations: 71.56 kB / 0.7345 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007788/0.1979, allocations: 442 kB / 0.7349 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1979, allocations: 0 / 0.7349 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1979, allocations: 3.938 kB / 0.7349 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.1979, allocations: 4 kB / 0.7349 GB, free: 10.82 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000904/0.1988, allocations: 484.8 kB / 0.7353 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1988, allocations: 12.03 kB / 0.7354 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.199, allocations: 104 kB / 0.7355 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.1993, allocations: 248.5 kB / 0.7357 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.644e-05/0.1994, allocations: 162.9 kB / 0.7358 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.919e-05/0.1995, allocations: 154.9 kB / 0.736 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.358e-05/0.1995, allocations: 105.5 kB / 0.7361 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.659e-05/0.1996, allocations: 79.47 kB / 0.7362 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.886e-05/0.1997, allocations: 154.5 kB / 0.7363 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-05/0.1997, allocations: 150.6 kB / 0.7365 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.864e-05/0.1998, allocations: 158.6 kB / 0.7366 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.2002, allocations: 493.2 kB / 0.7371 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.2004, allocations: 169.1 kB / 0.7372 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.047e-05/0.2004, allocations: 80.14 kB / 0.7373 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.621e-05/0.2004, allocations: 75.28 kB / 0.7374 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.131e-05/0.2005, allocations: 109.8 kB / 0.7375 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.2005, allocations: 0 / 0.7375 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0002018/0.2007, allocations: 65.38 kB / 0.7376 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.21e-05/0.2008, allocations: 130.7 kB / 0.7377 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005337/0.2013, allocations: 433.3 kB / 0.7381 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.2013, allocations: 25.7 kB / 0.7381 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.2014, allocations: 136.6 kB / 0.7383 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.2015, allocations: 3.938 kB / 0.7383 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.2016, allocations: 85.67 kB / 0.7383 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.2017, allocations: 342.8 kB / 0.7387 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.2019, allocations: 92.61 kB / 0.7388 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.2021, allocations: 173.8 kB / 0.7389 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.2025, allocations: 301.6 kB / 0.7392 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2025, allocations: 4 kB / 0.7392 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005636/0.203, allocations: 333 kB / 0.7395 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.2031, allocations: 8 kB / 0.7395 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.2031, allocations: 3.938 kB / 0.7395 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.2031, allocations: 7.938 kB / 0.7395 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.326e-06/0.2031, allocations: 4 kB / 0.7395 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.2031, allocations: 4 kB / 0.7396 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.2033, allocations: 43.52 kB / 0.7396 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.2033, allocations: 4 kB / 0.7396 GB, free: 5.754 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0002839/0.2036, allocations: 249.3 kB / 0.7398 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.2037, allocations: 128.7 kB / 0.74 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.975e-05/0.2037, allocations: 106.9 kB / 0.7401 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.166e-05/0.2038, allocations: 192.1 kB / 0.7402 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.123e-05/0.2039, allocations: 180.2 kB / 0.7404 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-05/0.204, allocations: 180.2 kB / 0.7406 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003606/0.2044, allocations: 432.7 kB / 0.741 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.368e-05/0.2044, allocations: 101.1 kB / 0.7411 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.306e-05/0.2045, allocations: 117 kB / 0.7412 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.619e-05/0.2046, allocations: 180.3 kB / 0.7414 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.216e-05/0.2047, allocations: 176.3 kB / 0.7415 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.166e-05/0.2048, allocations: 184.2 kB / 0.7417 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.627e-05/0.2049, allocations: 184.2 kB / 0.7419 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.2051, allocations: 323.6 kB / 0.7422 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.2052, allocations: 124.8 kB / 0.7423 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.2053, allocations: 184.2 kB / 0.7425 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.2055, allocations: 109 kB / 0.7426 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.2056, allocations: 188.1 kB / 0.7428 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.282e-05/0.2056, allocations: 101 kB / 0.7429 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000331/0.206, allocations: 275.1 kB / 0.7431 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.206, allocations: 0 / 0.7431 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004635/0.2064, allocations: 83.94 kB / 0.7432 GB, free: 1.852 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0005149/0.2069, allocations: 306.2 kB / 0.7435 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002689/0.2072, allocations: 127.8 kB / 0.7436 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2072, allocations: 0 / 0.7436 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/0.2072, allocations: 0 / 0.7436 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.2077, allocations: 463.3 kB / 0.7441 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000843/0.2086, allocations: 0.5278 MB / 0.7446 GB, free: 412 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.2088, allocations: 166.8 kB / 0.7448 GB, free: 228 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.2088, allocations: 7.438 kB / 0.7448 GB, free: 220 kB / 0.5606 GB Notification: Performance of SimCode: time 9.91e-07/0.2088, allocations: 0 / 0.7448 GB, free: 220 kB / 0.5606 GB Notification: Performance of Templates: time 0.007164/0.216, allocations: 3.262 MB / 0.7479 GB, free: 12.96 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.517773672007024] Failed to read output from testmodel.py, exit status != 0: 0.22605280298739672 0.538278831 0.042071615 Calling exit ...