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.00178/0.00178, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002614/0.002614, allocations: 217.3 kB / 22.99 MB, free: 4.977 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.014/1.014, allocations: 149.9 MB / 463 MB, free: 10.34 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.002142/0.002142, allocations: 62.97 kB / 0.6415 GB, free: 9.648 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1834, allocations: 89.17 MB / 0.7286 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003/0.1864, allocations: 1.416 MB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003397/0.1898, allocations: 2.394 MB / 0.7323 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.138e-05/0.1898, allocations: 0 / 0.7323 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.1912, allocations: 0.547 MB / 0.7329 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.29e-05/0.1913, allocations: 23.91 kB / 0.7329 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.358e-06/0.1913, allocations: 4 kB / 0.7329 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.1915, allocations: 158.9 kB / 0.733 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.854e-05/0.1916, allocations: 16.58 kB / 0.7331 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.959e-05/0.1917, allocations: 63.72 kB / 0.7331 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.1918, allocations: 75.59 kB / 0.7332 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.1918, allocations: 0 / 0.7332 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008828/0.1927, allocations: 411.5 kB / 0.7336 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.293e-05/0.1927, allocations: 35.78 kB / 0.7336 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.958e-05/0.1928, allocations: 75.55 kB / 0.7337 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005982/0.1934, allocations: 442 kB / 0.7341 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1934, allocations: 0 / 0.7341 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1934, allocations: 0 / 0.7341 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.1934, allocations: 7.938 kB / 0.7341 GB, free: 10.88 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.0008005/0.1942, allocations: 484.8 kB / 0.7346 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1943, allocations: 12.03 kB / 0.7346 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.1945, allocations: 104 kB / 0.7347 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.1947, allocations: 252.5 kB / 0.7349 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-05/0.1948, allocations: 158.9 kB / 0.7351 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.529e-05/0.1948, allocations: 154.9 kB / 0.7352 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.117e-05/0.1949, allocations: 101.5 kB / 0.7353 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/0.1949, allocations: 75.47 kB / 0.7354 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.047e-05/0.195, allocations: 166.4 kB / 0.7356 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.451e-05/0.1951, allocations: 154.6 kB / 0.7357 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.412e-05/0.1951, allocations: 154.6 kB / 0.7359 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.1955, allocations: 493.2 kB / 0.7363 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.1956, allocations: 165.1 kB / 0.7365 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.025e-05/0.1957, allocations: 88.12 kB / 0.7366 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.1957, allocations: 79.28 kB / 0.7366 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.638e-05/0.1958, allocations: 105.8 kB / 0.7367 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.1958, allocations: 0 / 0.7367 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0002043/0.196, allocations: 61.39 kB / 0.7368 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.1961, allocations: 130.7 kB / 0.7369 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004848/0.1965, allocations: 433.3 kB / 0.7373 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.1966, allocations: 25.7 kB / 0.7374 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.1967, allocations: 140.6 kB / 0.7375 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-06/0.1967, allocations: 0 / 0.7375 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.509e-05/0.1968, allocations: 89.66 kB / 0.7376 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1969, allocations: 338.8 kB / 0.7379 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.197, allocations: 96.59 kB / 0.738 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.1972, allocations: 169.9 kB / 0.7382 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.1975, allocations: 305.6 kB / 0.7385 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1975, allocations: 0 / 0.7385 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005242/0.1981, allocations: 337 kB / 0.7388 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1981, allocations: 8 kB / 0.7388 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1981, allocations: 0 / 0.7388 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.1981, allocations: 7.938 kB / 0.7388 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.206e-06/0.1981, allocations: 3.984 kB / 0.7388 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.1981, allocations: 12.06 kB / 0.7388 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.1983, allocations: 43.52 kB / 0.7388 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.1983, allocations: 4 kB / 0.7389 GB, free: 5.797 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.0002502/0.1985, allocations: 241.3 kB / 0.7391 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.18e-05/0.1986, allocations: 132.7 kB / 0.7392 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.032e-05/0.1987, allocations: 110.9 kB / 0.7393 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.931e-05/0.1988, allocations: 188.1 kB / 0.7395 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-05/0.1988, allocations: 180.3 kB / 0.7397 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.21e-05/0.1989, allocations: 180.3 kB / 0.7398 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.1992, allocations: 424.7 kB / 0.7402 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-05/0.1993, allocations: 109.1 kB / 0.7403 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.588e-05/0.1993, allocations: 113 kB / 0.7405 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.639e-05/0.1994, allocations: 180.3 kB / 0.7406 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.72e-05/0.1995, allocations: 176.3 kB / 0.7408 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.532e-05/0.1995, allocations: 188.2 kB / 0.741 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.695e-05/0.1996, allocations: 184.2 kB / 0.7412 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.1998, allocations: 319.6 kB / 0.7415 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.591e-05/0.1999, allocations: 128.8 kB / 0.7416 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.2, allocations: 184.2 kB / 0.7418 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.2001, allocations: 101 kB / 0.7418 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-05/0.2002, allocations: 192.1 kB / 0.742 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-05/0.2002, allocations: 105 kB / 0.7421 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002779/0.2005, allocations: 271.1 kB / 0.7424 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2005, allocations: 0 / 0.7424 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003928/0.2009, allocations: 87.92 kB / 0.7425 GB, free: 1.898 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.0003589/0.2013, allocations: 306.2 kB / 0.7428 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002171/0.2015, allocations: 123.8 kB / 0.7429 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2015, allocations: 0 / 0.7429 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.2015, allocations: 0 / 0.7429 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.2019, allocations: 461.1 kB / 0.7433 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007238/0.2026, allocations: 0.5104 MB / 0.7438 GB, free: 488 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/0.2028, allocations: 168.6 kB / 0.744 GB, free: 300 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.349e-05/0.2028, allocations: 7.938 kB / 0.744 GB, free: 292 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.2028, allocations: 7.438 kB / 0.744 GB, free: 284 kB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.2028, allocations: 0 / 0.744 GB, free: 284 kB / 0.5606 GB Notification: Performance of Templates: time 0.007764/0.2106, allocations: 3.324 MB / 0.7472 GB, free: 13 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: 6.4475879315286875] Failed to read output from testmodel.py, exit status != 0: 0.2192129548639059 0.5813887280000001 0.036581313000000004 Calling exit ...