Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.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.001586/0.001586, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002133/0.002133, allocations: 212.4 kB / 22.99 MB, free: 4.605 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.605/1.605, allocations: 230.6 MB / 256.8 MB, free: 7.805 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 1.047/1.047, allocations: 149.9 MB / 463 MB, free: 10.4 MB / 366.1 MB " [Timeout remaining time 178] 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_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low") [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.002122/0.002122, allocations: 72.42 kB / 0.6415 GB, free: 9.68 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1935, allocations: 89.17 MB / 0.7286 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002849/0.1963, allocations: 1.4 MB / 0.73 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00262/0.1989, allocations: 1.768 MB / 0.7317 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.426e-05/0.199, allocations: 0 / 0.7317 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.2003, allocations: 354 kB / 0.732 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.408e-05/0.2003, allocations: 19.91 kB / 0.7321 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.257e-06/0.2003, allocations: 0 / 0.7321 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.2005, allocations: 123.2 kB / 0.7322 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.89e-05/0.2006, allocations: 9.672 kB / 0.7322 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.943e-05/0.2007, allocations: 51.73 kB / 0.7322 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.2008, allocations: 63.7 kB / 0.7323 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.2009, allocations: 4 kB / 0.7323 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005116/0.2014, allocations: 175.9 kB / 0.7325 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.056e-05/0.2014, allocations: 31.83 kB / 0.7325 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.832e-05/0.2015, allocations: 59.67 kB / 0.7326 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005621/0.2021, allocations: 286.8 kB / 0.7328 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.2021, allocations: 3.938 kB / 0.7328 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2021, allocations: 3.938 kB / 0.7328 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2021, allocations: 4 kB / 0.7328 GB, free: 12.22 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.0008578/0.2029, allocations: 413.3 kB / 0.7332 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.203, allocations: 8.031 kB / 0.7332 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002346/0.2032, allocations: 108.1 kB / 0.7333 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.2035, allocations: 229.1 kB / 0.7336 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.187e-05/0.2036, allocations: 158.9 kB / 0.7337 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.707e-05/0.2036, allocations: 154.9 kB / 0.7339 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.312e-05/0.2037, allocations: 105.1 kB / 0.734 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.029e-05/0.2038, allocations: 79.27 kB / 0.734 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.735e-05/0.2039, allocations: 154.6 kB / 0.7342 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-05/0.2039, allocations: 154.6 kB / 0.7343 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.2041, allocations: 154.6 kB / 0.7345 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.2045, allocations: 461.3 kB / 0.7349 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.2046, allocations: 173.1 kB / 0.7351 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.947e-05/0.2046, allocations: 80.14 kB / 0.7352 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.612e-05/0.2046, allocations: 79.27 kB / 0.7352 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/0.2047, allocations: 105.8 kB / 0.7353 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.2047, allocations: 0 / 0.7353 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0001961/0.2049, allocations: 53.48 kB / 0.7354 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/0.205, allocations: 130.7 kB / 0.7355 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003624/0.2053, allocations: 329.6 kB / 0.7358 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.2053, allocations: 29.64 kB / 0.7359 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.565e-05/0.2054, allocations: 116.5 kB / 0.736 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.2054, allocations: 0 / 0.736 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-05/0.2055, allocations: 61.67 kB / 0.736 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.2057, allocations: 330.8 kB / 0.7363 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.17e-05/0.2058, allocations: 63.95 kB / 0.7364 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.2059, allocations: 122 kB / 0.7365 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.2062, allocations: 205.8 kB / 0.7367 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2062, allocations: 0 / 0.7367 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000449/0.2066, allocations: 241.3 kB / 0.7369 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.2066, allocations: 7.938 kB / 0.737 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.2067, allocations: 7.938 kB / 0.737 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.2067, allocations: 0 / 0.737 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.563e-06/0.2067, allocations: 7.938 kB / 0.737 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2067, allocations: 80 / 0.737 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.2068, allocations: 31.73 kB / 0.737 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.2068, allocations: 7.984 kB / 0.737 GB, free: 7.727 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.0002331/0.207, allocations: 225.3 kB / 0.7372 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.293e-05/0.2071, allocations: 124.8 kB / 0.7373 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.627e-05/0.2072, allocations: 113.8 kB / 0.7374 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.779e-05/0.2073, allocations: 180.3 kB / 0.7376 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.414e-05/0.2074, allocations: 188.2 kB / 0.7378 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.748e-05/0.2075, allocations: 176.3 kB / 0.738 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.2077, allocations: 408.8 kB / 0.7384 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.963e-05/0.2078, allocations: 101 kB / 0.7385 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.263e-05/0.2078, allocations: 101 kB / 0.7386 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.292e-05/0.2079, allocations: 184.2 kB / 0.7387 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.124e-05/0.208, allocations: 184.2 kB / 0.7389 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-05/0.2081, allocations: 180.2 kB / 0.7391 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.523e-05/0.2082, allocations: 192.2 kB / 0.7393 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.2083, allocations: 315.6 kB / 0.7396 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.1e-05/0.2084, allocations: 121.1 kB / 0.7397 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.2085, allocations: 188.1 kB / 0.7399 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.2087, allocations: 105 kB / 0.74 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-05/0.2088, allocations: 180.3 kB / 0.7401 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-05/0.2088, allocations: 104.9 kB / 0.7402 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002282/0.209, allocations: 217.2 kB / 0.7404 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.209, allocations: 0 / 0.7404 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003781/0.2094, allocations: 67.88 kB / 0.7405 GB, free: 3.965 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.0003954/0.2098, allocations: 270.3 kB / 0.7408 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002034/0.21, allocations: 83.89 kB / 0.7408 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.21, allocations: 448 / 0.7408 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.21, allocations: 4 kB / 0.7408 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/0.2105, allocations: 472.1 kB / 0.7413 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006982/0.2112, allocations: 401.3 kB / 0.7417 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.2114, allocations: 126.7 kB / 0.7418 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.308e-05/0.2115, allocations: 3.984 kB / 0.7418 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.2115, allocations: 11.44 kB / 0.7418 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of SimCode: time 7.41e-07/0.2115, allocations: 4 kB / 0.7418 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of Templates: time 0.006955/0.2184, allocations: 2.48 MB / 0.7442 GB, free: 112 kB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.169745814055204] Failed to read output from testmodel.py, exit status != 0: 0.22773778438568115 0.24374135200000002 0.038142552 Calling exit ...