Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0009517/0.0009517, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0009672/0.0009672, allocations: 209.7 kB / 22.24 MB, free: 3.57 MB / 13.93 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 0.9489/0.9489, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7575/0.7575, allocations: 203.5 MB / 0.5039 GB, free: 10.76 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IDEAS_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IDEAS_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.0008744/0.0008744, allocations: 76.02 kB / 0.7178 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.476/0.4769, allocations: 102 MB / 0.8174 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001736/0.4786, allocations: 1.435 MB / 0.8188 GB, free: 272 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002118/0.4807, allocations: 2.408 MB / 0.8211 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.959e-05/0.4808, allocations: 0 / 0.8211 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.4821, allocations: 0.545 MB / 0.8216 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.193e-05/0.4821, allocations: 18.31 kB / 0.8217 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.228e-06/0.4821, allocations: 0 / 0.8217 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.4823, allocations: 159 kB / 0.8218 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.319e-05/0.4824, allocations: 12.08 kB / 0.8218 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.341e-05/0.4824, allocations: 66.25 kB / 0.8219 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.4826, allocations: 84.47 kB / 0.822 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.4826, allocations: 1.906 kB / 0.822 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006481/0.4832, allocations: 407 kB / 0.8224 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.4833, allocations: 32.67 kB / 0.8224 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.265e-05/0.4833, allocations: 82.14 kB / 0.8225 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005027/0.4839, allocations: 440.9 kB / 0.8229 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4839, allocations: 0 / 0.8229 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4839, allocations: 1.156 kB / 0.8229 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.4839, allocations: 0 / 0.8229 GB, free: 13.96 MB / 0.6198 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.0006198/0.4845, allocations: 490.1 kB / 0.8233 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.4845, allocations: 10.16 kB / 0.8234 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.282e-05/0.4846, allocations: 114 kB / 0.8235 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.4847, allocations: 109 kB / 0.8236 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.4848, allocations: 241.9 kB / 0.8238 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.953e-05/0.4849, allocations: 153.2 kB / 0.8239 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.4849, allocations: 158.2 kB / 0.8241 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.749e-05/0.485, allocations: 104.7 kB / 0.8242 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.485, allocations: 80.47 kB / 0.8243 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/0.485, allocations: 150.6 kB / 0.8244 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.401e-05/0.4851, allocations: 151.7 kB / 0.8246 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.717e-05/0.4851, allocations: 156.1 kB / 0.8247 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002829/0.4854, allocations: 0.5016 MB / 0.8252 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.138e-05/0.4855, allocations: 172.3 kB / 0.8254 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.4855, allocations: 80.14 kB / 0.8254 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.4855, allocations: 76.47 kB / 0.8255 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.4856, allocations: 108.8 kB / 0.8256 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.4856, allocations: 0 / 0.8256 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001365/0.4857, allocations: 67.72 kB / 0.8257 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.4858, allocations: 132.1 kB / 0.8258 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/0.4862, allocations: 431.3 kB / 0.8262 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.4862, allocations: 26.92 kB / 0.8262 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.4862, allocations: 134.4 kB / 0.8264 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-06/0.4862, allocations: 4 kB / 0.8264 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-05/0.4863, allocations: 90.62 kB / 0.8265 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.4864, allocations: 339.6 kB / 0.8268 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.483e-05/0.4865, allocations: 98.66 kB / 0.8269 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.4866, allocations: 169 kB / 0.827 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.4869, allocations: 303.9 kB / 0.8273 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4869, allocations: 0 / 0.8273 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003584/0.4872, allocations: 333.8 kB / 0.8277 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4872, allocations: 9.469 kB / 0.8277 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.4872, allocations: 2.469 kB / 0.8277 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.4873, allocations: 2.234 kB / 0.8277 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.304e-06/0.4873, allocations: 7.016 kB / 0.8277 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.4873, allocations: 2.469 kB / 0.8277 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.751e-05/0.4874, allocations: 45.92 kB / 0.8277 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.4874, allocations: 4.25 kB / 0.8277 GB, free: 9.855 MB / 0.6198 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.0001913/0.4876, allocations: 248.9 kB / 0.828 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.148e-05/0.4876, allocations: 133.8 kB / 0.8281 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.256e-05/0.4877, allocations: 120 kB / 0.8282 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.821e-05/0.4877, allocations: 181.8 kB / 0.8284 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.738e-05/0.4877, allocations: 178.3 kB / 0.8285 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.834e-05/0.4878, allocations: 186.6 kB / 0.8287 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.488, allocations: 443 kB / 0.8291 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.332e-05/0.488, allocations: 103 kB / 0.8292 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.187e-05/0.488, allocations: 106.3 kB / 0.8293 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-05/0.4881, allocations: 187.3 kB / 0.8295 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.4881, allocations: 182 kB / 0.8297 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-05/0.4881, allocations: 179 kB / 0.8299 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.715e-05/0.4882, allocations: 177.1 kB / 0.83 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.4883, allocations: 330 kB / 0.8304 GB, free: 7.141 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.803e-05/0.4883, allocations: 126.6 kB / 0.8305 GB, free: 7.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.772e-05/0.4884, allocations: 199.1 kB / 0.8307 GB, free: 6.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-05/0.4884, allocations: 106 kB / 0.8308 GB, free: 6.711 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.4885, allocations: 183.5 kB / 0.8309 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.4885, allocations: 101.6 kB / 0.831 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002087/0.4887, allocations: 280.7 kB / 0.8313 GB, free: 6.293 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4887, allocations: 0 / 0.8313 GB, free: 6.293 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002983/0.489, allocations: 83.41 kB / 0.8314 GB, free: 6.285 MB / 0.6198 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.0004848/0.4895, allocations: 0.9596 MB / 0.8323 GB, free: 5.406 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001633/0.4897, allocations: 119.5 kB / 0.8324 GB, free: 5.367 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4897, allocations: 64 / 0.8324 GB, free: 5.367 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.4897, allocations: 4.656 kB / 0.8324 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.4899, allocations: 467.9 kB / 0.8329 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.4922, allocations: 2.938 MB / 0.8358 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.4924, allocations: 172.2 kB / 0.8359 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.538e-05/0.4924, allocations: 6.688 kB / 0.8359 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/0.4924, allocations: 56.22 kB / 0.836 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of SimCode: time 7.51e-07/0.4924, allocations: 0 / 0.836 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.5157, allocations: 7.029 MB / 0.8428 GB, free: 0.8203 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.61/7.126, allocations: 1.656 kB / 0.8428 GB, free: 0.8203 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.057844926137477] Failed to read output from testmodel.py, exit status != 0: 7.206035655923188 7.216937899 6.73102114 Calling exit ...