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.001783/0.001783, allocations: 101.9 kB / 20.48 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.002273/0.002273, allocations: 214.3 kB / 23.78 MB, free: 4.555 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.516/1.516, allocations: 230.6 MB / 257.6 MB, free: 7.809 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.084/1.084, allocations: 150 MB / 464 MB, free: 10.23 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: "" <> buildModelFMU(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="cs",version="2.0",platforms={"static"}) [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.002012/0.002012, allocations: 66.09 kB / 0.6419 GB, free: 9.926 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1851, allocations: 89.18 MB / 0.729 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002722/0.1878, allocations: 1.388 MB / 0.7304 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002453/0.1902, allocations: 1.76 MB / 0.7321 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.629e-05/0.1903, allocations: 4 kB / 0.7321 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.1914, allocations: 350 kB / 0.7324 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.22e-05/0.1914, allocations: 27.91 kB / 0.7325 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.247e-06/0.1914, allocations: 3.938 kB / 0.7325 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.1917, allocations: 127.1 kB / 0.7326 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.397e-05/0.1917, allocations: 5.688 kB / 0.7326 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.399e-05/0.1918, allocations: 43.8 kB / 0.7326 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.1919, allocations: 63.7 kB / 0.7327 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.192, allocations: 4 kB / 0.7327 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004312/0.1924, allocations: 179.9 kB / 0.7329 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.21e-05/0.1925, allocations: 43.81 kB / 0.7329 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.422e-05/0.1926, allocations: 55.69 kB / 0.733 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005013/0.1931, allocations: 295 kB / 0.7333 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1931, allocations: 0 / 0.7333 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1931, allocations: 0 / 0.7333 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.1931, allocations: 0 / 0.7333 GB, free: 12.47 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.0007788/0.1938, allocations: 421.3 kB / 0.7337 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1939, allocations: 8.031 kB / 0.7337 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.379e-05/0.1939, allocations: 75.47 kB / 0.7337 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.333e-05/0.194, allocations: 114 kB / 0.7338 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.1942, allocations: 100.1 kB / 0.7339 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.1944, allocations: 233.1 kB / 0.7342 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.18e-05/0.1945, allocations: 154.9 kB / 0.7343 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-05/0.1946, allocations: 158.7 kB / 0.7345 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.116e-05/0.1946, allocations: 101 kB / 0.7346 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.63e-05/0.1947, allocations: 79.27 kB / 0.7346 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.687e-05/0.1947, allocations: 150.6 kB / 0.7348 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.561e-05/0.1948, allocations: 154.6 kB / 0.7349 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.77e-05/0.1949, allocations: 158.5 kB / 0.7351 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.1954, allocations: 480.8 kB / 0.7355 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.1955, allocations: 173.1 kB / 0.7357 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.702e-05/0.1955, allocations: 88.08 kB / 0.7358 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-05/0.1956, allocations: 75.28 kB / 0.7359 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.4e-05/0.1956, allocations: 105.8 kB / 0.736 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.1956, allocations: 3.938 kB / 0.736 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0001881/0.1958, allocations: 49.59 kB / 0.736 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.188e-05/0.1959, allocations: 126.7 kB / 0.7361 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004138/0.1963, allocations: 321.6 kB / 0.7364 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.1963, allocations: 29.7 kB / 0.7365 GB, free: 9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.152e-05/0.1964, allocations: 116.4 kB / 0.7366 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-06/0.1964, allocations: 8 kB / 0.7366 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.135e-05/0.1965, allocations: 57.69 kB / 0.7366 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1966, allocations: 334.8 kB / 0.737 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.034e-05/0.1967, allocations: 63.95 kB / 0.737 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.1969, allocations: 125.8 kB / 0.7371 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.1971, allocations: 205.8 kB / 0.7373 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.1971, allocations: 7.938 kB / 0.7373 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004372/0.1976, allocations: 241.2 kB / 0.7376 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1976, allocations: 4 kB / 0.7376 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1976, allocations: 4 kB / 0.7376 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1976, allocations: 224 / 0.7376 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.649e-06/0.1976, allocations: 11.98 kB / 0.7376 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1976, allocations: 0 / 0.7376 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.1977, allocations: 31.73 kB / 0.7376 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.1977, allocations: 4 kB / 0.7376 GB, free: 7.742 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.0002187/0.198, allocations: 226.2 kB / 0.7378 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.236e-05/0.198, allocations: 124.8 kB / 0.738 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.682e-05/0.1981, allocations: 109.8 kB / 0.7381 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.937e-05/0.1982, allocations: 184.2 kB / 0.7382 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.312e-05/0.1983, allocations: 188.3 kB / 0.7384 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.937e-05/0.1983, allocations: 180.3 kB / 0.7386 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.1986, allocations: 424.1 kB / 0.739 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.697e-05/0.1987, allocations: 105 kB / 0.7391 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.458e-05/0.1987, allocations: 104.9 kB / 0.7392 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.596e-05/0.1988, allocations: 180.2 kB / 0.7394 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.011e-05/0.1989, allocations: 184.3 kB / 0.7395 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.966e-05/0.199, allocations: 180.2 kB / 0.7397 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.902e-05/0.199, allocations: 180.3 kB / 0.7399 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.1992, allocations: 327.5 kB / 0.7402 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.821e-05/0.1993, allocations: 117.2 kB / 0.7403 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.1994, allocations: 184.2 kB / 0.7405 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.1995, allocations: 113 kB / 0.7406 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.906e-05/0.1996, allocations: 184.2 kB / 0.7408 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.051e-05/0.1997, allocations: 105 kB / 0.7409 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002244/0.1999, allocations: 217.2 kB / 0.7411 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1999, allocations: 0 / 0.7411 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003862/0.2003, allocations: 59.94 kB / 0.7411 GB, free: 3.953 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.0007042/0.201, allocations: 0.9371 MB / 0.742 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001781/0.2012, allocations: 79.89 kB / 0.7421 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2012, allocations: 0 / 0.7421 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.2012, allocations: 3.938 kB / 0.7421 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.2016, allocations: 462.9 kB / 0.7426 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/0.2043, allocations: 2.452 MB / 0.745 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.2044, allocations: 134.7 kB / 0.7451 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.586e-05/0.2045, allocations: 4 kB / 0.7451 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.2045, allocations: 31.42 kB / 0.7451 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.2045, allocations: 0 / 0.7451 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02657/0.2311, allocations: 5.047 MB / 0.7501 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.77, allocations: 2.75 kB / 0.7501 GB, free: 10.8 MB / 0.5762 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.103082907036878] Failed to read output from testmodel.py, exit status != 0: 11.940507300081663 12.278334775 12.081950297 Calling exit ...