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.0008797/0.0008797, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.001042/0.001042, allocations: 170 kB / 22.43 MB, free: 2.141 MB / 18.57 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.861/0.861, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.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.6891/0.6891, allocations: 154.7 MB / 413.9 MB, free: 0.7383 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.001011/0.001011, allocations: 62.12 kB / 0.6183 GB, free: 13.65 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4091, allocations: 102 MB / 0.7179 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001811/0.4109, allocations: 1.418 MB / 0.7192 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.4128, allocations: 2.394 MB / 0.7216 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.103e-05/0.4128, allocations: 0 / 0.7216 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.4139, allocations: 0.5503 MB / 0.7221 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.36e-05/0.414, allocations: 20.28 kB / 0.7221 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 4.428e-06/0.414, allocations: 0 / 0.7221 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.4142, allocations: 159.5 kB / 0.7223 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.928e-05/0.4142, allocations: 14.83 kB / 0.7223 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.506e-05/0.4143, allocations: 99 kB / 0.7224 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.4144, allocations: 81.97 kB / 0.7225 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.4145, allocations: 2.594 kB / 0.7225 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00066/0.4151, allocations: 404.9 kB / 0.7229 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.41e-05/0.4152, allocations: 37.62 kB / 0.7229 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.328e-05/0.4152, allocations: 76.25 kB / 0.723 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004653/0.4157, allocations: 463.4 kB / 0.7234 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4157, allocations: 0.75 kB / 0.7234 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4157, allocations: 0 / 0.7234 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.4157, allocations: 0 / 0.7234 GB, free: 20.01 MB / 0.6355 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.0005149/0.4162, allocations: 493.8 kB / 0.7239 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.4163, allocations: 13 kB / 0.7239 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.077e-05/0.4163, allocations: 107.2 kB / 0.724 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.199e-05/0.4164, allocations: 104.6 kB / 0.7241 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.4165, allocations: 242.8 kB / 0.7243 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.4165, allocations: 157.6 kB / 0.7245 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.4166, allocations: 154 kB / 0.7246 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.369e-05/0.4166, allocations: 110.2 kB / 0.7247 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.4166, allocations: 80.28 kB / 0.7248 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.4166, allocations: 155.5 kB / 0.725 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.4166, allocations: 151.4 kB / 0.7251 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.416e-05/0.4166, allocations: 151.7 kB / 0.7252 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/0.4168, allocations: 0.5096 MB / 0.7257 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.015e-05/0.4169, allocations: 170.1 kB / 0.7259 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.31e-05/0.4169, allocations: 85.27 kB / 0.726 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/0.4169, allocations: 75.28 kB / 0.7261 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.4169, allocations: 109.5 kB / 0.7262 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.4169, allocations: 0 / 0.7262 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001161/0.417, allocations: 58.84 kB / 0.7262 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.4171, allocations: 128.9 kB / 0.7263 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.4174, allocations: 436.5 kB / 0.7268 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.332e-06/0.4174, allocations: 25.7 kB / 0.7268 GB, free: 16.87 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.4174, allocations: 138.2 kB / 0.7269 GB, free: 16.74 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-06/0.4174, allocations: 1 kB / 0.7269 GB, free: 16.74 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.627e-05/0.4175, allocations: 89.12 kB / 0.727 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.415e-05/0.4176, allocations: 345.2 kB / 0.7273 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.847e-05/0.4176, allocations: 95.45 kB / 0.7274 GB, free: 16.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.4178, allocations: 166.6 kB / 0.7276 GB, free: 16.24 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.418, allocations: 306.3 kB / 0.7279 GB, free: 16.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.418, allocations: 2.281 kB / 0.7279 GB, free: 16.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000349/0.4183, allocations: 326.1 kB / 0.7282 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.4183, allocations: 9.375 kB / 0.7282 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4184, allocations: 2.156 kB / 0.7282 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.4184, allocations: 6.891 kB / 0.7282 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.384e-06/0.4184, allocations: 2.062 kB / 0.7282 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.4184, allocations: 6.688 kB / 0.7282 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.641e-05/0.4185, allocations: 50.16 kB / 0.7283 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.4185, allocations: 4.734 kB / 0.7283 GB, free: 15.9 MB / 0.6355 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.0001582/0.4186, allocations: 245.2 kB / 0.7285 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.4187, allocations: 128.7 kB / 0.7286 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.4187, allocations: 120 kB / 0.7287 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.4187, allocations: 178.1 kB / 0.7289 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.4187, allocations: 190.2 kB / 0.7291 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.4187, allocations: 178.4 kB / 0.7293 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.4189, allocations: 443 kB / 0.7297 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.4189, allocations: 110.5 kB / 0.7298 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.765e-06/0.4189, allocations: 102.7 kB / 0.7299 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.341e-05/0.4189, allocations: 185.9 kB / 0.7301 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.4189, allocations: 179.3 kB / 0.7302 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-05/0.4189, allocations: 182.1 kB / 0.7304 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.179e-05/0.4189, allocations: 178 kB / 0.7306 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.68e-05/0.419, allocations: 329.2 kB / 0.7309 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.419, allocations: 143.2 kB / 0.731 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.4191, allocations: 186.1 kB / 0.7312 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.757e-05/0.4191, allocations: 107.5 kB / 0.7313 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.927e-05/0.4191, allocations: 179.1 kB / 0.7315 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.4191, allocations: 106.9 kB / 0.7316 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001896/0.4193, allocations: 276.1 kB / 0.7318 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4193, allocations: 0 / 0.7318 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002872/0.4196, allocations: 83.08 kB / 0.7319 GB, free: 12.34 MB / 0.6355 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.0003414/0.42, allocations: 0.9529 MB / 0.7329 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001586/0.4201, allocations: 122.3 kB / 0.733 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4201, allocations: 4.062 kB / 0.733 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.784e-06/0.4201, allocations: 5 kB / 0.733 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.4203, allocations: 461.4 kB / 0.7334 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.4222, allocations: 2.938 MB / 0.7363 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.4223, allocations: 171.7 kB / 0.7365 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.8e-05/0.4223, allocations: 6.781 kB / 0.7365 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/0.4224, allocations: 52.94 kB / 0.7365 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of SimCode: time 8.81e-07/0.4224, allocations: 1.125 kB / 0.7365 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.4441, allocations: 7.159 MB / 0.7435 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.755/7.199, allocations: 7.766 kB / 0.7435 GB, free: 7.582 MB / 0.6355 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: 9.835555394995026] Failed to read output from testmodel.py, exit status != 0: 7.279536743066274 7.289414263 6.8715497 Calling exit ...