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.001637/0.001637, allocations: 119 kB / 19.69 MB, free: 2.199 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.002104/0.002104, allocations: 225 kB / 23.01 MB, free: 5.047 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.9746/0.9746, allocations: 150 MB / 463.2 MB, free: 10.44 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_med,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",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.003122/0.003122, allocations: 70.08 kB / 0.6413 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1756, allocations: 89.16 MB / 0.7283 GB, free: 1.223 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002874/0.1785, allocations: 1.443 MB / 0.7297 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003598/0.1821, allocations: 2.709 MB / 0.7324 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.205e-05/0.1821, allocations: 0 / 0.7324 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001743/0.1839, allocations: 0.5948 MB / 0.733 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.381e-05/0.1839, allocations: 27.84 kB / 0.733 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.869e-06/0.1839, allocations: 0 / 0.733 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002743/0.1842, allocations: 158.9 kB / 0.7331 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.944e-05/0.1843, allocations: 12.58 kB / 0.7332 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.1844, allocations: 59.73 kB / 0.7332 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.1845, allocations: 79.58 kB / 0.7333 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.1845, allocations: 0 / 0.7333 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.1857, allocations: 471.3 kB / 0.7337 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.788e-05/0.1858, allocations: 39.77 kB / 0.7338 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.1859, allocations: 91.44 kB / 0.7339 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008211/0.1867, allocations: 449.9 kB / 0.7343 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1867, allocations: 8 kB / 0.7343 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1867, allocations: 0 / 0.7343 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.1867, allocations: 0 / 0.7343 GB, free: 11.08 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.000982/0.1877, allocations: 488.7 kB / 0.7348 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.1877, allocations: 12.03 kB / 0.7348 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.417e-05/0.1878, allocations: 106 kB / 0.7349 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002174/0.188, allocations: 108 kB / 0.735 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.1884, allocations: 260.5 kB / 0.7352 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.199e-05/0.1884, allocations: 150.9 kB / 0.7354 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.022e-05/0.1885, allocations: 154.9 kB / 0.7355 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.674e-05/0.1886, allocations: 101.5 kB / 0.7356 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.458e-05/0.1887, allocations: 79.22 kB / 0.7357 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.586e-05/0.1887, allocations: 150.6 kB / 0.7358 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.926e-05/0.1888, allocations: 162.5 kB / 0.736 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.262e-05/0.1889, allocations: 150.6 kB / 0.7361 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005322/0.1894, allocations: 0.5007 MB / 0.7366 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.1895, allocations: 169.1 kB / 0.7368 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.545e-05/0.1896, allocations: 84.14 kB / 0.7369 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.083e-05/0.1896, allocations: 79.22 kB / 0.7369 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.145e-05/0.1897, allocations: 113.8 kB / 0.7371 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.1897, allocations: 0 / 0.7371 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0002181/0.1899, allocations: 57.45 kB / 0.7371 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/0.19, allocations: 126.7 kB / 0.7372 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005272/0.1905, allocations: 433.3 kB / 0.7376 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.1905, allocations: 37.64 kB / 0.7377 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.1907, allocations: 132.6 kB / 0.7378 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-06/0.1907, allocations: 0 / 0.7378 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.1908, allocations: 93.66 kB / 0.7379 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.191, allocations: 342.8 kB / 0.7382 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.1911, allocations: 96.59 kB / 0.7383 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.1913, allocations: 165.9 kB / 0.7385 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.1917, allocations: 305.6 kB / 0.7388 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1917, allocations: 0 / 0.7388 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005878/0.1922, allocations: 333 kB / 0.7391 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1923, allocations: 8.156 kB / 0.7391 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.1923, allocations: 8 kB / 0.7391 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.1923, allocations: 0 / 0.7391 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.467e-06/0.1923, allocations: 4 kB / 0.7391 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.475e-06/0.1923, allocations: 3.984 kB / 0.7391 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.1925, allocations: 47.52 kB / 0.7392 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.1925, allocations: 4 kB / 0.7392 GB, free: 5.859 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.0002809/0.1927, allocations: 245.8 kB / 0.7394 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.1928, allocations: 132.7 kB / 0.7395 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.781e-05/0.1929, allocations: 122.8 kB / 0.7396 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.34e-05/0.193, allocations: 176.3 kB / 0.7398 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.137e-05/0.1931, allocations: 176.3 kB / 0.74 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.895e-05/0.1932, allocations: 184.2 kB / 0.7401 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.1935, allocations: 452.2 kB / 0.7406 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.854e-05/0.1936, allocations: 105.1 kB / 0.7407 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.757e-05/0.1936, allocations: 109 kB / 0.7408 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.976e-05/0.1937, allocations: 188.2 kB / 0.741 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.763e-05/0.1938, allocations: 184.2 kB / 0.7411 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.79e-05/0.1939, allocations: 176.3 kB / 0.7413 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.424e-05/0.194, allocations: 188.2 kB / 0.7415 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.1942, allocations: 319.7 kB / 0.7418 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.1943, allocations: 132.7 kB / 0.7419 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.1945, allocations: 180.2 kB / 0.7421 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.1946, allocations: 108.9 kB / 0.7422 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.502e-05/0.1947, allocations: 180.3 kB / 0.7424 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.373e-05/0.1948, allocations: 105 kB / 0.7425 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003055/0.1951, allocations: 287 kB / 0.7427 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1951, allocations: 0 / 0.7427 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004805/0.1956, allocations: 79.94 kB / 0.7428 GB, free: 1.918 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.0008086/0.1964, allocations: 0.9672 MB / 0.7438 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002381/0.1966, allocations: 119.9 kB / 0.7439 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1966, allocations: 0 / 0.7439 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.627e-06/0.1966, allocations: 3.938 kB / 0.7439 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.1971, allocations: 469.6 kB / 0.7443 GB, free: 352 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003469/0.2005, allocations: 2.937 MB / 0.7472 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/0.201, allocations: 0.7743 MB / 0.7479 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.058e-05/0.201, allocations: 7.984 kB / 0.748 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.268e-05/0.2011, allocations: 51.42 kB / 0.748 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of SimCode: time 8.31e-07/0.2011, allocations: 0 / 0.748 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03567/0.2368, allocations: 6.547 MB / 0.7544 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.68, allocations: 7.156 kB / 0.7544 GB, free: 6.02 MB / 0.5762 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.693807209841907] Failed to read output from testmodel.py, exit status != 0: 11.78656173008494 12.136180841 11.946391685 Calling exit ...