Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001327/0.001327, 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.001682/0.001682, 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.9799/0.9799, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7995/0.7995, allocations: 203.8 MB / 0.5042 GB, free: 10.44 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IDEAS_dev_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.000988/0.000988, allocations: 71.02 kB / 0.7181 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5003/0.5012, allocations: 102 MB / 0.8178 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.0021/0.5033, allocations: 1.418 MB / 0.8192 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.505, allocations: 1.762 MB / 0.8209 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.96e-05/0.505, allocations: 0 / 0.8209 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008658/0.5059, allocations: 356.1 kB / 0.8212 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.199e-05/0.5059, allocations: 19.53 kB / 0.8212 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.609e-06/0.5059, allocations: 0 / 0.8212 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.5061, allocations: 120.9 kB / 0.8213 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.878e-05/0.5062, allocations: 12.56 kB / 0.8214 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.187e-05/0.5062, allocations: 45.34 kB / 0.8214 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.5063, allocations: 62.89 kB / 0.8215 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.5063, allocations: 7.344 kB / 0.8215 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003171/0.5067, allocations: 171.8 kB / 0.8216 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.474e-05/0.5067, allocations: 27.95 kB / 0.8217 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.408e-05/0.5068, allocations: 64.95 kB / 0.8217 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003762/0.5072, allocations: 293.2 kB / 0.822 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5072, allocations: 0.6562 kB / 0.822 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5072, allocations: 0 / 0.822 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.5072, allocations: 2.219 kB / 0.822 GB, free: 14.48 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.000575/0.5077, allocations: 427.6 kB / 0.8224 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.5078, allocations: 9.922 kB / 0.8224 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.065e-05/0.5078, allocations: 107.1 kB / 0.8225 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.5079, allocations: 95.16 kB / 0.8226 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.5081, allocations: 234.1 kB / 0.8228 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.614e-05/0.5082, allocations: 158.5 kB / 0.823 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.5082, allocations: 157.1 kB / 0.8231 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.028e-05/0.5083, allocations: 110 kB / 0.8232 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.5083, allocations: 75.28 kB / 0.8233 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.639e-05/0.5083, allocations: 156.6 kB / 0.8235 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.651e-05/0.5084, allocations: 155.7 kB / 0.8236 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.24e-05/0.5084, allocations: 159.5 kB / 0.8238 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.5087, allocations: 480.4 kB / 0.8242 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.656e-05/0.5087, allocations: 175.2 kB / 0.8244 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.591e-05/0.5088, allocations: 85.25 kB / 0.8245 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.5088, allocations: 79.22 kB / 0.8245 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.5088, allocations: 109 kB / 0.8247 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.5088, allocations: 0 / 0.8247 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001302/0.509, allocations: 48.92 kB / 0.8247 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.509, allocations: 128.8 kB / 0.8248 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.5093, allocations: 330.4 kB / 0.8251 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.5093, allocations: 25.7 kB / 0.8252 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.5093, allocations: 116.3 kB / 0.8253 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.5093, allocations: 0 / 0.8253 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.708e-05/0.5094, allocations: 59.34 kB / 0.8253 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003502/0.5098, allocations: 331.6 kB / 0.8256 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-05/0.5098, allocations: 67.73 kB / 0.8257 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.5099, allocations: 119.7 kB / 0.8258 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.5102, allocations: 214.4 kB / 0.826 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.5102, allocations: 1.406 kB / 0.826 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003234/0.5105, allocations: 235.8 kB / 0.8263 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.5105, allocations: 10.08 kB / 0.8263 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.5105, allocations: 1.125 kB / 0.8263 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.5105, allocations: 3.906 kB / 0.8263 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.537e-06/0.5106, allocations: 5.125 kB / 0.8263 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.5106, allocations: 3.312 kB / 0.8263 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.139e-05/0.5107, allocations: 29.95 kB / 0.8263 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.5107, allocations: 8.703 kB / 0.8263 GB, free: 10.63 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.0001938/0.5109, allocations: 230.4 kB / 0.8265 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.5109, allocations: 120.1 kB / 0.8266 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.5109, allocations: 119.3 kB / 0.8268 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.473e-05/0.511, allocations: 178.6 kB / 0.8269 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.477e-05/0.511, allocations: 178.4 kB / 0.8271 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.702e-05/0.5111, allocations: 186.8 kB / 0.8273 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.5113, allocations: 417.5 kB / 0.8277 GB, free: 9.223 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.813e-05/0.5113, allocations: 115.3 kB / 0.8278 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-05/0.5113, allocations: 102.8 kB / 0.8279 GB, free: 9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.403e-05/0.5114, allocations: 178.3 kB / 0.8281 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-05/0.5114, allocations: 186.1 kB / 0.8282 GB, free: 8.633 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.496e-05/0.5115, allocations: 178.1 kB / 0.8284 GB, free: 8.453 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.77e-05/0.5115, allocations: 186.1 kB / 0.8286 GB, free: 8.266 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.5116, allocations: 323.6 kB / 0.8289 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.5117, allocations: 128.8 kB / 0.829 GB, free: 7.812 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-05/0.5118, allocations: 183.9 kB / 0.8292 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.946e-05/0.5119, allocations: 106.6 kB / 0.8293 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.5119, allocations: 178.2 kB / 0.8295 GB, free: 7.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.512, allocations: 103 kB / 0.8296 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001672/0.5121, allocations: 218.7 kB / 0.8298 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5121, allocations: 0 / 0.8298 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002758/0.5124, allocations: 65.61 kB / 0.8298 GB, free: 7.109 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.0004917/0.5129, allocations: 0.9198 MB / 0.8307 GB, free: 6.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.513, allocations: 80.72 kB / 0.8308 GB, free: 6.227 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.513, allocations: 0 / 0.8308 GB, free: 6.227 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.513, allocations: 448 / 0.8308 GB, free: 6.227 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.5133, allocations: 475.9 kB / 0.8313 GB, free: 5.762 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.5153, allocations: 2.432 MB / 0.8336 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.955e-05/0.5154, allocations: 129.4 kB / 0.8338 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.46e-05/0.5154, allocations: 3.453 kB / 0.8338 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.543e-05/0.5155, allocations: 34.61 kB / 0.8338 GB, free: 3.914 MB / 0.6198 GB Notification: Performance of SimCode: time 6.41e-07/0.5155, allocations: 4 kB / 0.8338 GB, free: 3.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.5389, allocations: 5.409 MB / 0.8391 GB, free: 2.738 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.568/7.107, allocations: 1.875 kB / 0.8391 GB, free: 2.738 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.16858816286549] Failed to read output from testmodel.py, exit status != 0: 7.187690953258425 7.197715532 6.688336304 Calling exit ...