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.0007536/0.0007536, 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.0009395/0.0009395, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.9876/0.9876, allocations: 230.6 MB / 256 MB, free: 9.434 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.7823/0.7823, allocations: 203.5 MB / 0.5039 GB, free: 10.7 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_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.0009004/0.0009004, allocations: 65.45 kB / 0.7178 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4833/0.4842, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001973/0.4862, allocations: 1.412 MB / 0.8187 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.4878, allocations: 1.765 MB / 0.8205 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.364e-05/0.4878, allocations: 0.875 kB / 0.8205 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.4888, allocations: 355.1 kB / 0.8208 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.081e-05/0.4889, allocations: 16.08 kB / 0.8208 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.899e-06/0.4889, allocations: 0 / 0.8208 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.4891, allocations: 126.1 kB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.61e-05/0.4892, allocations: 7.359 kB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.946e-05/0.4892, allocations: 59.06 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.4893, allocations: 57.92 kB / 0.8211 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.4894, allocations: 0.9688 kB / 0.8211 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000352/0.4897, allocations: 180.9 kB / 0.8212 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.291e-05/0.4898, allocations: 30.73 kB / 0.8213 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.24e-05/0.4898, allocations: 54.88 kB / 0.8213 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003868/0.4902, allocations: 292.5 kB / 0.8216 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.4902, allocations: 1.219 kB / 0.8216 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.385e-06/0.4902, allocations: 3.938 kB / 0.8216 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.4902, allocations: 4.75 kB / 0.8216 GB, free: 14.66 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.0006089/0.4908, allocations: 420.3 kB / 0.822 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.4909, allocations: 13.19 kB / 0.822 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.4909, allocations: 106 kB / 0.8221 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.491, allocations: 95 kB / 0.8222 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.4912, allocations: 241.4 kB / 0.8224 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.014e-05/0.4913, allocations: 152.7 kB / 0.8226 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/0.4913, allocations: 153.4 kB / 0.8227 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.481e-05/0.4914, allocations: 109.5 kB / 0.8228 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.4914, allocations: 79.28 kB / 0.8229 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.167e-05/0.4914, allocations: 150.6 kB / 0.8231 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.655e-05/0.4915, allocations: 154.6 kB / 0.8232 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.372e-05/0.4915, allocations: 160.9 kB / 0.8234 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003083/0.4918, allocations: 481.3 kB / 0.8238 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.549e-05/0.4919, allocations: 166.2 kB / 0.824 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.9e-05/0.4919, allocations: 84.19 kB / 0.8241 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.492, allocations: 81.28 kB / 0.8241 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.492, allocations: 106.7 kB / 0.8242 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.492, allocations: 0 / 0.8242 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001255/0.4921, allocations: 57.3 kB / 0.8243 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.4922, allocations: 130.6 kB / 0.8244 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.4925, allocations: 325.7 kB / 0.8247 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.4925, allocations: 25.7 kB / 0.8247 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.4925, allocations: 118 kB / 0.8249 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.4925, allocations: 0 / 0.8249 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.484e-05/0.4926, allocations: 62.08 kB / 0.8249 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.95e-05/0.4927, allocations: 331.3 kB / 0.8252 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.36e-05/0.4928, allocations: 63.62 kB / 0.8253 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.4929, allocations: 123 kB / 0.8254 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.493, allocations: 202.6 kB / 0.8256 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.493, allocations: 4.656 kB / 0.8256 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003164/0.4934, allocations: 243.8 kB / 0.8258 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.4934, allocations: 5.688 kB / 0.8258 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.4934, allocations: 1.438 kB / 0.8258 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.4934, allocations: 3.5 kB / 0.8259 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.755e-06/0.4934, allocations: 6.719 kB / 0.8259 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4934, allocations: 1.219 kB / 0.8259 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.796e-05/0.4935, allocations: 31.42 kB / 0.8259 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.4935, allocations: 4.25 kB / 0.8259 GB, free: 10.82 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.0001995/0.4937, allocations: 227.2 kB / 0.8261 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.4938, allocations: 123.8 kB / 0.8262 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.4e-05/0.4938, allocations: 111.2 kB / 0.8263 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.353e-05/0.4938, allocations: 182.3 kB / 0.8265 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.602e-05/0.4939, allocations: 182.6 kB / 0.8267 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.22e-05/0.4939, allocations: 178.7 kB / 0.8269 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.4941, allocations: 426.4 kB / 0.8273 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.442e-05/0.4942, allocations: 107.3 kB / 0.8274 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.455e-05/0.4942, allocations: 101.6 kB / 0.8275 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.071e-05/0.4942, allocations: 185.9 kB / 0.8276 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.177e-05/0.4943, allocations: 183.3 kB / 0.8278 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.405e-05/0.4943, allocations: 186.5 kB / 0.828 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.149e-05/0.4944, allocations: 178.2 kB / 0.8282 GB, free: 8.461 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.4945, allocations: 323.2 kB / 0.8285 GB, free: 8.133 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.4945, allocations: 129.6 kB / 0.8286 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.857e-05/0.4946, allocations: 186 kB / 0.8288 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.846e-05/0.4947, allocations: 103.7 kB / 0.8289 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.4947, allocations: 183.6 kB / 0.829 GB, free: 7.531 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.4947, allocations: 102.2 kB / 0.8291 GB, free: 7.426 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001765/0.4949, allocations: 213.4 kB / 0.8293 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4949, allocations: 1.125 kB / 0.8293 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003105/0.4952, allocations: 68.75 kB / 0.8294 GB, free: 7.301 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.0005366/0.4957, allocations: 0.927 MB / 0.8303 GB, free: 6.434 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001706/0.4959, allocations: 84.72 kB / 0.8304 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4959, allocations: 1.625 kB / 0.8304 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.4959, allocations: 0 / 0.8304 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.4962, allocations: 471.4 kB / 0.8308 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.4982, allocations: 2.427 MB / 0.8332 GB, free: 4.211 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.719e-05/0.4983, allocations: 130.9 kB / 0.8333 GB, free: 4.133 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.287e-05/0.4983, allocations: 5.688 kB / 0.8333 GB, free: 4.129 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.4983, allocations: 35.02 kB / 0.8334 GB, free: 4.102 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.4983, allocations: 0 / 0.8334 GB, free: 4.102 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.5193, allocations: 5.408 MB / 0.8387 GB, free: 2.926 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.669/7.189, allocations: 11.81 kB / 0.8387 GB, free: 2.918 MB / 0.6198 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 10.072861357126385] Failed to read output from testmodel.py, exit status != 0: 7.269988026935607 7.28091227 6.788486002 Calling exit ...