Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.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.0008181/0.0008181, allocations: 80.45 kB / 19.15 MB, free: 0.7773 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.0008562/0.0008562, allocations: 162.3 kB / 22.43 MB, free: 2.145 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.83/0.83, allocations: 177.2 MB / 202.8 MB, free: 5.77 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.6755/0.6755, allocations: 154.7 MB / 413.9 MB, free: 0.7344 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_low,fileNamePrefix="IDEAS_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IDEAS_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low",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.0008198/0.0008198, allocations: 64.41 kB / 0.6183 GB, free: 13.62 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.3826/0.3834, allocations: 101.9 MB / 0.7179 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001716/0.3851, allocations: 1.41 MB / 0.7192 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.3865, allocations: 1.759 MB / 0.721 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.994e-05/0.3865, allocations: 0 / 0.721 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007802/0.3873, allocations: 352 kB / 0.7213 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.599e-05/0.3873, allocations: 16.72 kB / 0.7213 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 3.787e-06/0.3873, allocations: 4 kB / 0.7213 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000179/0.3875, allocations: 126.3 kB / 0.7214 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.187e-05/0.3875, allocations: 10.34 kB / 0.7214 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.618e-05/0.3876, allocations: 67.98 kB / 0.7215 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.3877, allocations: 63.61 kB / 0.7216 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.3877, allocations: 2.125 kB / 0.7216 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.388, allocations: 176.8 kB / 0.7217 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.3881, allocations: 28.72 kB / 0.7218 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.581e-05/0.3881, allocations: 67.2 kB / 0.7218 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.3885, allocations: 310.5 kB / 0.7221 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3885, allocations: 0 / 0.7221 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.003e-06/0.3885, allocations: 1.875 kB / 0.7221 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.3885, allocations: 0 / 0.7221 GB, free: 20.74 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.0004721/0.3889, allocations: 425.9 kB / 0.7225 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.389, allocations: 8.938 kB / 0.7225 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.188e-05/0.389, allocations: 107.1 kB / 0.7226 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.485e-05/0.3891, allocations: 98.81 kB / 0.7227 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.3892, allocations: 238.9 kB / 0.723 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.3892, allocations: 153.1 kB / 0.7231 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.3892, allocations: 153.4 kB / 0.7233 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.337e-05/0.3893, allocations: 110.9 kB / 0.7234 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3893, allocations: 76.5 kB / 0.7234 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.3893, allocations: 154.5 kB / 0.7236 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.3893, allocations: 152.1 kB / 0.7237 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.38e-05/0.3893, allocations: 154.5 kB / 0.7239 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.3895, allocations: 485.2 kB / 0.7243 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.31e-05/0.3895, allocations: 167.1 kB / 0.7245 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.215e-05/0.3895, allocations: 81.36 kB / 0.7246 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.3895, allocations: 88.38 kB / 0.7247 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.3896, allocations: 111.7 kB / 0.7248 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 6.01e-07/0.3896, allocations: 0 / 0.7248 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001086/0.3897, allocations: 53.2 kB / 0.7248 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.3897, allocations: 128.9 kB / 0.7249 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.3899, allocations: 318.8 kB / 0.7252 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.892e-06/0.3899, allocations: 25.7 kB / 0.7253 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.39, allocations: 117.7 kB / 0.7254 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-06/0.39, allocations: 0 / 0.7254 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.39, allocations: 66.88 kB / 0.7254 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.795e-05/0.3901, allocations: 334.7 kB / 0.7258 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.447e-05/0.3901, allocations: 67.72 kB / 0.7258 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.392e-05/0.3902, allocations: 115.3 kB / 0.7259 GB, free: 17.15 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.3904, allocations: 207 kB / 0.7261 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3904, allocations: 0.9375 kB / 0.7261 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002945/0.3907, allocations: 244 kB / 0.7264 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.3907, allocations: 5.875 kB / 0.7264 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3907, allocations: 1.656 kB / 0.7264 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3907, allocations: 3.062 kB / 0.7264 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.836e-06/0.3907, allocations: 2.453 kB / 0.7264 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3907, allocations: 2.438 kB / 0.7264 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.16e-05/0.3908, allocations: 34.3 kB / 0.7264 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.3908, allocations: 4.594 kB / 0.7264 GB, free: 16.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.0001253/0.3909, allocations: 230.8 kB / 0.7266 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.3909, allocations: 124.7 kB / 0.7268 GB, free: 16.58 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.141e-05/0.391, allocations: 115.5 kB / 0.7269 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.391, allocations: 181.4 kB / 0.727 GB, free: 16.28 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.675e-05/0.391, allocations: 178.5 kB / 0.7272 GB, free: 16.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.391, allocations: 183.1 kB / 0.7274 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.3911, allocations: 417.9 kB / 0.7278 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.3911, allocations: 111.1 kB / 0.7279 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.016e-05/0.3911, allocations: 107 kB / 0.728 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.591e-05/0.3911, allocations: 185.3 kB / 0.7282 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.3912, allocations: 182.4 kB / 0.7283 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.776e-05/0.3912, allocations: 182 kB / 0.7285 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.789e-05/0.3912, allocations: 183.3 kB / 0.7287 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.423e-05/0.3913, allocations: 316.4 kB / 0.729 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.3913, allocations: 127.7 kB / 0.7291 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.3913, allocations: 182.4 kB / 0.7293 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.47e-05/0.3914, allocations: 103.8 kB / 0.7294 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/0.3914, allocations: 186.5 kB / 0.7296 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.3914, allocations: 107.5 kB / 0.7297 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001577/0.3916, allocations: 217.6 kB / 0.7299 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3916, allocations: 3.938 kB / 0.7299 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002428/0.3918, allocations: 65.83 kB / 0.7299 GB, free: 13.38 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.000347/0.3922, allocations: 0.9113 MB / 0.7308 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001513/0.3923, allocations: 81.27 kB / 0.7309 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3923, allocations: 0 / 0.7309 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.31e-07/0.3923, allocations: 0 / 0.7309 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.3925, allocations: 464.8 kB / 0.7314 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.3941, allocations: 2.449 MB / 0.7337 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.057e-05/0.3942, allocations: 138.5 kB / 0.7339 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.068e-05/0.3942, allocations: 2.75 kB / 0.7339 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.3942, allocations: 38.36 kB / 0.7339 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of SimCode: time 4.51e-07/0.3942, allocations: 0 / 0.7339 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/0.4121, allocations: 5.539 MB / 0.7393 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.717/7.129, allocations: 10.27 kB / 0.7393 GB, free: 8.953 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low_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_low.fmu > IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.690169662004337] Failed to read output from testmodel.py, exit status != 0: 7.207131532020867 7.21658723 6.8264229929999996 Calling exit ...