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.001378/0.001378, allocations: 88.42 kB / 19.91 MB, free: 4.496 MB / 18.57 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.001164/0.001164, allocations: 169.2 kB / 23.2 MB, free: 1.219 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.9435/0.9435, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.7223/0.7223, allocations: 154.7 MB / 414.7 MB, free: 0.7773 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: translateModel(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med") [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.001505/0.001505, allocations: 67.89 kB / 0.6195 GB, free: 13.15 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.4969/0.4984, allocations: 102 MB / 0.7191 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001825/0.5002, allocations: 1.421 MB / 0.7205 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.5021, allocations: 2.392 MB / 0.7228 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.449e-05/0.5022, allocations: 1.062 kB / 0.7228 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.5032, allocations: 0.5501 MB / 0.7234 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.515e-05/0.5033, allocations: 17.64 kB / 0.7234 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 4.168e-06/0.5033, allocations: 0 / 0.7234 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00022/0.5035, allocations: 161.8 kB / 0.7235 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.311e-05/0.5035, allocations: 15.02 kB / 0.7235 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.5037, allocations: 88.28 kB / 0.7236 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.5038, allocations: 78.05 kB / 0.7237 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.5038, allocations: 6.344 kB / 0.7237 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006253/0.5044, allocations: 415.5 kB / 0.7241 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.269e-05/0.5045, allocations: 37.77 kB / 0.7241 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.025e-05/0.5045, allocations: 76.5 kB / 0.7242 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004479/0.505, allocations: 460.7 kB / 0.7247 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.505, allocations: 0 / 0.7247 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.572e-06/0.505, allocations: 3.938 kB / 0.7247 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.505, allocations: 0 / 0.7247 GB, free: 20.35 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.0005247/0.5055, allocations: 492.7 kB / 0.7251 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.5056, allocations: 10.78 kB / 0.7251 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.222e-05/0.5057, allocations: 104.3 kB / 0.7252 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.5058, allocations: 239.8 kB / 0.7255 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.5058, allocations: 165 kB / 0.7256 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.5058, allocations: 153.8 kB / 0.7258 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.113e-05/0.5059, allocations: 102.9 kB / 0.7259 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.5059, allocations: 75.47 kB / 0.7259 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.5059, allocations: 154.5 kB / 0.7261 GB, free: 19 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.5059, allocations: 155.7 kB / 0.7262 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.473e-05/0.5059, allocations: 153.4 kB / 0.7264 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/0.5061, allocations: 499.5 kB / 0.7269 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.915e-05/0.5062, allocations: 167.3 kB / 0.727 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.278e-05/0.5062, allocations: 81.64 kB / 0.7271 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.5062, allocations: 75.28 kB / 0.7272 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.5062, allocations: 117.2 kB / 0.7273 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.5062, allocations: 0 / 0.7273 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001129/0.5063, allocations: 63.75 kB / 0.7273 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.384e-05/0.5063, allocations: 51.41 kB / 0.7274 GB, free: 17.67 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/0.5067, allocations: 431.8 kB / 0.7278 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.485e-06/0.5067, allocations: 26.55 kB / 0.7278 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.5067, allocations: 135.6 kB / 0.728 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.5068, allocations: 0 / 0.728 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.719e-05/0.5068, allocations: 89.38 kB / 0.728 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.639e-05/0.5069, allocations: 341.7 kB / 0.7284 GB, free: 16.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.116e-05/0.507, allocations: 102 kB / 0.7285 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.5071, allocations: 167.9 kB / 0.7286 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.5073, allocations: 306.8 kB / 0.7289 GB, free: 16.65 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.5073, allocations: 0 / 0.7289 GB, free: 16.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003745/0.5077, allocations: 327.8 kB / 0.7292 GB, free: 16.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.5077, allocations: 5.938 kB / 0.7292 GB, free: 16.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.5077, allocations: 1.266 kB / 0.7292 GB, free: 16.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.5077, allocations: 2.438 kB / 0.7292 GB, free: 16.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.537e-06/0.5077, allocations: 14.94 kB / 0.7293 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.5078, allocations: 7.125 kB / 0.7293 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.706e-05/0.5078, allocations: 45.47 kB / 0.7293 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.5079, allocations: 11.53 kB / 0.7293 GB, free: 16.46 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.0001275/0.508, allocations: 237.4 kB / 0.7295 GB, free: 16.26 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.508, allocations: 134.2 kB / 0.7297 GB, free: 16.13 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.508, allocations: 115.4 kB / 0.7298 GB, free: 16.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.684e-05/0.5081, allocations: 182.3 kB / 0.7299 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.5081, allocations: 106.8 kB / 0.7301 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.5081, allocations: 126.7 kB / 0.7302 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.5081, allocations: 186.3 kB / 0.7303 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.936e-05/0.5082, allocations: 103.6 kB / 0.7304 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.5082, allocations: 186.3 kB / 0.7306 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 2.362e-05/0.5082, allocations: 258.4 kB / 0.7309 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 6.316e-05/0.5083, allocations: 403.8 kB / 0.7313 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.58e-05/0.5083, allocations: 103.5 kB / 0.7314 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001925/0.5085, allocations: 279.5 kB / 0.7316 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of Backend: time 2.31e-07/0.5085, allocations: 0 / 0.7316 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005497/0.5091, allocations: 340 kB / 0.7319 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0005805/0.5096, allocations: 1.178 MB / 0.7331 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of Templates: time 0.005252/0.5149, allocations: 3.046 MB / 0.7361 GB, free: 12.65 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.37799207912758] Failed to read output from testmodel.py, exit status != 0: 0.5220068718772382 0.5302190569999999 0.023344808 Calling exit ...