Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 109.9 kB / 16.41 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001985/0.001985, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.055/1.055, allocations: 173.4 MB / 470.6 MB, free: 13.63 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 63.53 kB / 0.6478 GB, free: 11.81 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1919, allocations: 89.51 MB / 0.7352 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002696/0.1946, allocations: 1.414 MB / 0.7365 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003751/0.1984, allocations: 2.67 MB / 0.7392 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.924e-05/0.1984, allocations: 7.938 kB / 0.7392 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001747/0.2002, allocations: 0.5869 MB / 0.7397 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.489e-05/0.2003, allocations: 23.91 kB / 0.7398 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 4.508e-06/0.2003, allocations: 0 / 0.7398 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002877/0.2006, allocations: 155 kB / 0.7399 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.533e-05/0.2007, allocations: 28.41 kB / 0.7399 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.491e-05/0.2008, allocations: 67.66 kB / 0.74 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.201, allocations: 75.58 kB / 0.7401 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.201, allocations: 4 kB / 0.7401 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.2022, allocations: 467.3 kB / 0.7405 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.865e-05/0.2023, allocations: 43.75 kB / 0.7406 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.2024, allocations: 91.44 kB / 0.7406 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007439/0.2031, allocations: 438.1 kB / 0.7411 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2032, allocations: 3.938 kB / 0.7411 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2032, allocations: 4 kB / 0.7411 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.373e-06/0.2032, allocations: 0 / 0.7411 GB, free: 12.23 MB / 0.5762 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.000864/0.2041, allocations: 0.5564 MB / 0.7416 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.2041, allocations: 8.031 kB / 0.7416 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.969e-05/0.2042, allocations: 106 kB / 0.7417 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.2044, allocations: 108 kB / 0.7418 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.2047, allocations: 302.4 kB / 0.7421 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.046e-05/0.2048, allocations: 154.9 kB / 0.7423 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-05/0.2048, allocations: 158.9 kB / 0.7424 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.823e-05/0.2049, allocations: 109.5 kB / 0.7425 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.166e-05/0.205, allocations: 79.22 kB / 0.7426 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.182e-05/0.2051, allocations: 150.6 kB / 0.7427 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.657e-05/0.2051, allocations: 154.6 kB / 0.7429 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.704e-05/0.2052, allocations: 154.6 kB / 0.743 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005049/0.2057, allocations: 0.5328 MB / 0.7436 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.2058, allocations: 173.1 kB / 0.7437 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.172e-05/0.2059, allocations: 84.14 kB / 0.7438 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.2059, allocations: 75.28 kB / 0.7439 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.717e-05/0.206, allocations: 109.8 kB / 0.744 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.873e-06/0.206, allocations: 0 / 0.744 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001965/0.2062, allocations: 57.48 kB / 0.744 GB, free: 9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.314e-05/0.2063, allocations: 130.6 kB / 0.7442 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005092/0.2068, allocations: 433.3 kB / 0.7446 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.2069, allocations: 25.7 kB / 0.7446 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.89e-05/0.207, allocations: 132.6 kB / 0.7447 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/0.207, allocations: 4 kB / 0.7447 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.2071, allocations: 89.67 kB / 0.7448 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.2073, allocations: 346.7 kB / 0.7451 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.2074, allocations: 92.52 kB / 0.7452 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.2076, allocations: 165.3 kB / 0.7454 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003874/0.208, allocations: 305.6 kB / 0.7457 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.208, allocations: 0 / 0.7457 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005484/0.2086, allocations: 337 kB / 0.746 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.2086, allocations: 11.94 kB / 0.746 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2086, allocations: 0 / 0.746 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.2086, allocations: 4 kB / 0.746 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.537e-06/0.2086, allocations: 3.938 kB / 0.746 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.2087, allocations: 4 kB / 0.746 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.2088, allocations: 47.73 kB / 0.7461 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.2088, allocations: 4 kB / 0.7461 GB, free: 6.809 MB / 0.5762 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.0002944/0.2091, allocations: 245 kB / 0.7463 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.2092, allocations: 128.7 kB / 0.7464 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.6e-05/0.2093, allocations: 111 kB / 0.7465 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.883e-05/0.2094, allocations: 184.3 kB / 0.7467 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001021/0.2095, allocations: 196.2 kB / 0.7469 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.491e-05/0.2096, allocations: 176.3 kB / 0.7471 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003638/0.21, allocations: 481.2 kB / 0.7475 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.127e-05/0.21, allocations: 105 kB / 0.7476 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.737e-05/0.2101, allocations: 108.9 kB / 0.7477 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001003/0.2102, allocations: 188.1 kB / 0.7479 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-05/0.2103, allocations: 176.3 kB / 0.7481 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.846e-05/0.2104, allocations: 184.2 kB / 0.7482 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-05/0.2105, allocations: 180.3 kB / 0.7484 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.2107, allocations: 323.6 kB / 0.7487 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.2108, allocations: 205.9 kB / 0.7489 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.211, allocations: 184.1 kB / 0.7491 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.2111, allocations: 105 kB / 0.7492 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.058e-05/0.2112, allocations: 184.2 kB / 0.7494 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.311e-05/0.2113, allocations: 108.9 kB / 0.7495 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003065/0.2116, allocations: 279.1 kB / 0.7497 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2116, allocations: 0 / 0.7497 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004148/0.212, allocations: 87.88 kB / 0.7498 GB, free: 2.734 MB / 0.5762 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.0008976/0.2129, allocations: 0.9555 MB / 0.7508 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002876/0.2132, allocations: 168.2 kB / 0.7509 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2132, allocations: 4.062 kB / 0.7509 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.2132, allocations: 3.938 kB / 0.7509 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.2137, allocations: 465.1 kB / 0.7514 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3518/0.5656, allocations: 2.929 MB / 0.7542 GB, free: 17.93 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.5658, allocations: 0.7796 MB / 0.755 GB, free: 17.24 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.086e-05/0.5658, allocations: 7.422 kB / 0.755 GB, free: 17.24 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.567e-05/0.5659, allocations: 53.78 kB / 0.7551 GB, free: 17.23 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/0.5659, allocations: 0 / 0.7551 GB, free: 17.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/0.5954, allocations: 6.432 MB / 0.7613 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.208/8.804, allocations: 10.34 kB / 0.7613 GB, free: 16.66 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.636498525040224] Failed to read output from testmodel.py, exit status != 0: 8.873988218954764 8.889010035 8.68347022 Calling exit ...