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.001583/0.001583, allocations: 105 kB / 20.48 MB, free: 1.488 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.001977/0.001977, allocations: 214.8 kB / 23.79 MB, free: 4.703 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.977/0.977, allocations: 150 MB / 464 MB, free: 10.54 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med",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.003145/0.003145, allocations: 72.52 kB / 0.642 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1849, allocations: 89.17 MB / 0.7291 GB, free: 1.352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002638/0.1876, allocations: 1.438 MB / 0.7305 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003437/0.191, allocations: 2.705 MB / 0.7331 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.191, allocations: 0 / 0.7331 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.1926, allocations: 0.5948 MB / 0.7337 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.804e-05/0.1926, allocations: 23.84 kB / 0.7338 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 5.491e-06/0.1926, allocations: 0 / 0.7338 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00027/0.1929, allocations: 155 kB / 0.7339 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.22e-05/0.193, allocations: 8.594 kB / 0.7339 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.1931, allocations: 67.7 kB / 0.734 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.1932, allocations: 79.58 kB / 0.734 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.1932, allocations: 0 / 0.734 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.1943, allocations: 475.3 kB / 0.7345 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.365e-05/0.1944, allocations: 39.77 kB / 0.7345 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.1945, allocations: 91.42 kB / 0.7346 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006502/0.1951, allocations: 457.8 kB / 0.7351 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1951, allocations: 4 kB / 0.7351 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1951, allocations: 0 / 0.7351 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.1951, allocations: 0 / 0.7351 GB, free: 11.21 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.0008246/0.196, allocations: 488.7 kB / 0.7355 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.196, allocations: 12.03 kB / 0.7355 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.152e-05/0.196, allocations: 75.47 kB / 0.7356 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.243e-05/0.1961, allocations: 106 kB / 0.7357 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.1963, allocations: 112 kB / 0.7358 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.1965, allocations: 252.5 kB / 0.7361 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.92e-05/0.1966, allocations: 154.9 kB / 0.7362 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.504e-05/0.1966, allocations: 154.9 kB / 0.7364 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.085e-05/0.1967, allocations: 105.3 kB / 0.7365 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.1967, allocations: 75.28 kB / 0.7365 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.24e-05/0.1968, allocations: 158.5 kB / 0.7367 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-05/0.1969, allocations: 150.6 kB / 0.7368 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.682e-05/0.1969, allocations: 150.6 kB / 0.737 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.1973, allocations: 0.5046 MB / 0.7375 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.1974, allocations: 169.1 kB / 0.7376 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.065e-05/0.1975, allocations: 80.14 kB / 0.7377 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.1975, allocations: 83.22 kB / 0.7378 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.496e-05/0.1976, allocations: 113.8 kB / 0.7379 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.1976, allocations: 0 / 0.7379 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0001817/0.1978, allocations: 57.5 kB / 0.7379 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/0.1978, allocations: 130.7 kB / 0.7381 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004675/0.1983, allocations: 433.3 kB / 0.7385 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.1983, allocations: 25.7 kB / 0.7385 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.1984, allocations: 128.6 kB / 0.7386 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-06/0.1984, allocations: 3.938 kB / 0.7386 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.1985, allocations: 97.66 kB / 0.7387 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1987, allocations: 334.8 kB / 0.739 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.1988, allocations: 112.5 kB / 0.7392 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.199, allocations: 161.9 kB / 0.7393 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/0.1993, allocations: 301.6 kB / 0.7396 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1993, allocations: 0 / 0.7396 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005358/0.1999, allocations: 337 kB / 0.7399 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1999, allocations: 7.938 kB / 0.7399 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1999, allocations: 4 kB / 0.7399 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1999, allocations: 0 / 0.7399 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.246e-06/0.1999, allocations: 8 kB / 0.7399 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.1999, allocations: 4 kB / 0.7399 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.2001, allocations: 51.5 kB / 0.74 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.2001, allocations: 4 kB / 0.74 GB, free: 5.91 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.0002672/0.2003, allocations: 245.2 kB / 0.7402 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-05/0.2004, allocations: 128.7 kB / 0.7404 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.543e-05/0.2005, allocations: 114.8 kB / 0.7405 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.807e-05/0.2006, allocations: 180.2 kB / 0.7406 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-05/0.2007, allocations: 180.3 kB / 0.7408 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.065e-05/0.2008, allocations: 184.2 kB / 0.741 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.2011, allocations: 444.2 kB / 0.7414 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-05/0.2011, allocations: 109.1 kB / 0.7415 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.853e-05/0.2012, allocations: 109 kB / 0.7416 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.253e-05/0.2013, allocations: 184.2 kB / 0.7418 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-05/0.2014, allocations: 184.2 kB / 0.742 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.444e-05/0.2014, allocations: 180.3 kB / 0.7421 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.67e-05/0.2015, allocations: 184.2 kB / 0.7423 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.2017, allocations: 327.6 kB / 0.7426 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.778e-05/0.2018, allocations: 128.7 kB / 0.7427 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.2019, allocations: 180.3 kB / 0.7429 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.2021, allocations: 108.9 kB / 0.743 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.928e-05/0.2022, allocations: 184.3 kB / 0.7432 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.056e-05/0.2022, allocations: 104.9 kB / 0.7433 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002957/0.2025, allocations: 275.1 kB / 0.7436 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2025, allocations: 3.938 kB / 0.7436 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004296/0.2029, allocations: 83.94 kB / 0.7436 GB, free: 1.973 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.000884/0.2038, allocations: 0.9683 MB / 0.7446 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002432/0.2041, allocations: 115.9 kB / 0.7447 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2041, allocations: 0 / 0.7447 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.003e-06/0.2041, allocations: 3.938 kB / 0.7447 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005107/0.2046, allocations: 469.6 kB / 0.7452 GB, free: 408 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/0.2078, allocations: 2.945 MB / 0.748 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.2082, allocations: 0.7704 MB / 0.7488 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.226e-05/0.2083, allocations: 7.984 kB / 0.7488 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.647e-05/0.2084, allocations: 55.42 kB / 0.7488 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of SimCode: time 1.603e-06/0.2084, allocations: 0 / 0.7488 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.2367, allocations: 6.571 MB / 0.7553 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/11.93, allocations: 21.05 kB / 0.7553 GB, free: 6.059 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: 16.1764722429798] Failed to read output from testmodel.py, exit status != 0: 12.099790113978088 12.487971311 12.289250873 Calling exit ...