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.0007784/0.0007784, allocations: 105.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.0008669/0.0008669, allocations: 208.1 kB / 22.24 MB, free: 3.59 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.9203/0.9203, 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.7487/0.7487, allocations: 203.5 MB / 0.5039 GB, free: 10.71 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.001259/0.001259, allocations: 66.3 kB / 0.7178 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4763/0.4776, allocations: 102 MB / 0.8174 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001824/0.4794, allocations: 1.433 MB / 0.8188 GB, free: 260 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002045/0.4814, allocations: 2.405 MB / 0.8211 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.885e-05/0.4815, allocations: 0 / 0.8211 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.4825, allocations: 0.5392 MB / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.128e-05/0.4826, allocations: 21.02 kB / 0.8216 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.128e-06/0.4826, allocations: 0 / 0.8216 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.4828, allocations: 163.7 kB / 0.8218 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.275e-05/0.4828, allocations: 10.2 kB / 0.8218 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.917e-05/0.4829, allocations: 64.03 kB / 0.8219 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.483, allocations: 82.8 kB / 0.822 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.483, allocations: 2.375 kB / 0.822 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005954/0.4836, allocations: 407.9 kB / 0.8223 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.51e-05/0.4837, allocations: 29.73 kB / 0.8224 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.268e-05/0.4837, allocations: 80.61 kB / 0.8224 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004502/0.4842, allocations: 445.6 kB / 0.8229 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4842, allocations: 0 / 0.8229 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4842, allocations: 0 / 0.8229 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.4842, allocations: 2 kB / 0.8229 GB, free: 13.95 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.0006009/0.4848, allocations: 484.2 kB / 0.8233 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.4848, allocations: 9.859 kB / 0.8233 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.33e-05/0.4849, allocations: 115.3 kB / 0.8235 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.485, allocations: 104.6 kB / 0.8236 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.4852, allocations: 246.6 kB / 0.8238 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.652e-05/0.4852, allocations: 152.5 kB / 0.8239 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.4852, allocations: 154.1 kB / 0.8241 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.006e-05/0.4853, allocations: 103.7 kB / 0.8242 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.4853, allocations: 79.22 kB / 0.8243 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.4853, allocations: 151.7 kB / 0.8244 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.4854, allocations: 159.7 kB / 0.8246 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.58e-05/0.4854, allocations: 155.8 kB / 0.8247 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.4857, allocations: 0.5012 MB / 0.8252 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.389e-05/0.4857, allocations: 178.4 kB / 0.8254 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.401e-05/0.4858, allocations: 85.45 kB / 0.8254 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.4858, allocations: 76.31 kB / 0.8255 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.4858, allocations: 111.1 kB / 0.8256 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.4858, allocations: 1.094 kB / 0.8256 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001157/0.4859, allocations: 59.02 kB / 0.8257 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.486, allocations: 128.1 kB / 0.8258 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.4863, allocations: 431.8 kB / 0.8262 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.4863, allocations: 31.02 kB / 0.8262 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/0.4864, allocations: 135.1 kB / 0.8264 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.4864, allocations: 4 kB / 0.8264 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.117e-05/0.4865, allocations: 89.38 kB / 0.8265 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.717e-05/0.4866, allocations: 340.2 kB / 0.8268 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-05/0.4867, allocations: 99.28 kB / 0.8269 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.4868, allocations: 168.3 kB / 0.827 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.487, allocations: 302.1 kB / 0.8273 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.487, allocations: 0 / 0.8273 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003488/0.4873, allocations: 328 kB / 0.8276 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.4874, allocations: 11.62 kB / 0.8277 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4874, allocations: 0 / 0.8277 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.4874, allocations: 3.125 kB / 0.8277 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.064e-06/0.4874, allocations: 9.875 kB / 0.8277 GB, free: 9.875 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.4874, allocations: 2.516 kB / 0.8277 GB, free: 9.875 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.4875, allocations: 45.12 kB / 0.8277 GB, free: 9.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.4875, allocations: 4.312 kB / 0.8277 GB, free: 9.84 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.0001928/0.4877, allocations: 249.7 kB / 0.828 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.123e-05/0.4877, allocations: 134.2 kB / 0.8281 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.963e-05/0.4878, allocations: 119.3 kB / 0.8282 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.199e-05/0.4878, allocations: 180.9 kB / 0.8284 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-05/0.4879, allocations: 178.3 kB / 0.8285 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.964e-05/0.4879, allocations: 190.8 kB / 0.8287 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.4881, allocations: 442.6 kB / 0.8291 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.409e-05/0.4881, allocations: 102.9 kB / 0.8292 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.396e-05/0.4882, allocations: 106.9 kB / 0.8293 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.123e-05/0.4882, allocations: 182.8 kB / 0.8295 GB, free: 8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.446e-05/0.4882, allocations: 182.9 kB / 0.8297 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.921e-05/0.4883, allocations: 176.8 kB / 0.8299 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.13e-05/0.4883, allocations: 186.7 kB / 0.83 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.91e-05/0.4884, allocations: 324.9 kB / 0.8303 GB, free: 7.121 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/0.4885, allocations: 132.6 kB / 0.8305 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.73e-05/0.4885, allocations: 193 kB / 0.8307 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.4886, allocations: 104.3 kB / 0.8308 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.4886, allocations: 186.1 kB / 0.8309 GB, free: 6.508 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.4887, allocations: 101.6 kB / 0.831 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001976/0.4889, allocations: 280.3 kB / 0.8313 GB, free: 6.273 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4889, allocations: 1.125 kB / 0.8313 GB, free: 6.273 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002834/0.4892, allocations: 82.17 kB / 0.8314 GB, free: 6.266 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.0004668/0.4896, allocations: 0.9566 MB / 0.8323 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001711/0.4898, allocations: 122.4 kB / 0.8324 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4898, allocations: 1.344 kB / 0.8324 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.4898, allocations: 4 kB / 0.8324 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.4901, allocations: 467.4 kB / 0.8329 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.4924, allocations: 2.936 MB / 0.8357 GB, free: 2.961 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.4925, allocations: 168.4 kB / 0.8359 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.748e-05/0.4926, allocations: 7.375 kB / 0.8359 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.347e-05/0.4926, allocations: 52.2 kB / 0.836 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.4926, allocations: 192 / 0.836 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.5132, allocations: 7.045 MB / 0.8428 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.714/7.227, allocations: 2.531 kB / 0.8428 GB, free: 0.7891 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.033164858818054] Failed to read output from testmodel.py, exit status != 0: 7.305711771827191 7.315493271 6.829439483 Calling exit ...