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.002338/0.002338, allocations: 89.47 kB / 19.44 MB, free: 340 kB / 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.002892/0.002892, allocations: 177.2 kB / 22.76 MB, free: 1.66 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 1.586/1.586, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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-545:108: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-545:116: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 1.355/1.355, allocations: 154.6 MB / 414.1 MB, free: 0.6445 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 178] 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: Performance of FrontEnd - loaded program: time 4.759e-06/4.759e-06, allocations: 3.984 kB / 0.5196 GB, free: 2.582 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.855e-05/3.331e-05, allocations: 4 kB / 0.5196 GB, free: 2.578 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003783/0.003817, allocations: 1.444 MB / 0.521 GB, free: 1.141 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005972/0.009788, allocations: 2.616 MB / 0.5236 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.487e-05/0.009833, allocations: 0 / 0.5236 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.003073/0.01291, allocations: 0.5546 MB / 0.5241 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.01301, allocations: 17.19 kB / 0.5241 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 6.181e-06/0.01301, allocations: 0 / 0.5241 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004134/0.01343, allocations: 178.7 kB / 0.5243 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.794e-05/0.0135, allocations: 9.219 kB / 0.5243 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.01372, allocations: 87.77 kB / 0.5244 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.01393, allocations: 64.75 kB / 0.5244 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.01395, allocations: 4 kB / 0.5244 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001766/0.01572, allocations: 403.2 kB / 0.5248 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.553e-05/0.01582, allocations: 38.83 kB / 0.5249 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.01597, allocations: 59.84 kB / 0.5249 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.01718, allocations: 454.1 kB / 0.5254 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.01718, allocations: 0 / 0.5254 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.914e-06/0.01719, allocations: 4 kB / 0.5254 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.01719, allocations: 0 / 0.5254 GB, free: 12.69 MB / 0.4948 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.001439/0.01863, allocations: 0.5861 MB / 0.5259 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.01869, allocations: 12.03 kB / 0.5259 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003273/0.01901, allocations: 147.9 kB / 0.5261 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000462/0.01948, allocations: 294.5 kB / 0.5264 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/0.01967, allocations: 243.2 kB / 0.5266 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002106/0.01988, allocations: 250.7 kB / 0.5268 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.02004, allocations: 150.4 kB / 0.527 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001024/0.02015, allocations: 119.4 kB / 0.5271 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/0.02033, allocations: 239.2 kB / 0.5273 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001995/0.02053, allocations: 238.8 kB / 0.5275 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.02071, allocations: 248.8 kB / 0.5278 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008737/0.02159, allocations: 0.6928 MB / 0.5285 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.02185, allocations: 265.4 kB / 0.5287 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.02195, allocations: 126.9 kB / 0.5288 GB, free: 9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-05/0.02205, allocations: 123.2 kB / 0.529 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.02219, allocations: 152.6 kB / 0.5291 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/0.02219, allocations: 2.438 kB / 0.5291 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 0.0003289/0.02252, allocations: 53.52 kB / 0.5292 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001571/0.02268, allocations: 174.5 kB / 0.5293 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.02376, allocations: 0.5257 MB / 0.5298 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.02379, allocations: 29.7 kB / 0.5299 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/0.02405, allocations: 203.3 kB / 0.5301 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-06/0.02405, allocations: 0 / 0.5301 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002696/0.02432, allocations: 121.1 kB / 0.5302 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004846/0.02481, allocations: 0.5313 MB / 0.5307 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.02493, allocations: 36.66 kB / 0.5307 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003089/0.02524, allocations: 137.7 kB / 0.5309 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000799/0.02603, allocations: 218.6 kB / 0.5311 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.02604, allocations: 0 / 0.5311 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009796/0.02702, allocations: 262.1 kB / 0.5313 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.02704, allocations: 4 kB / 0.5313 GB, free: 6.328 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.02705, allocations: 4 kB / 0.5313 GB, free: 6.324 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.02708, allocations: 5.406 kB / 0.5313 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.755e-06/0.02708, allocations: 4 kB / 0.5313 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.02709, allocations: 0 / 0.5313 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.02737, allocations: 47.5 kB / 0.5314 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.0274, allocations: 13.27 kB / 0.5314 GB, free: 6.258 MB / 0.4948 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.0003671/0.02777, allocations: 316.3 kB / 0.5317 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.02796, allocations: 177.3 kB / 0.5319 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.02812, allocations: 159.4 kB / 0.532 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002187/0.02834, allocations: 272.1 kB / 0.5323 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002217/0.02856, allocations: 269.6 kB / 0.5325 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002176/0.02878, allocations: 268 kB / 0.5328 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007859/0.02956, allocations: 0.5935 MB / 0.5334 GB, free: 4.148 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001234/0.02968, allocations: 144.9 kB / 0.5335 GB, free: 4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.02981, allocations: 153.8 kB / 0.5336 GB, free: 3.844 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002224/0.03004, allocations: 264.1 kB / 0.5339 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000225/0.03026, allocations: 272.1 kB / 0.5342 GB, free: 3.305 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002277/0.03049, allocations: 276.6 kB / 0.5344 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002141/0.0307, allocations: 264.7 kB / 0.5347 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004496/0.03115, allocations: 467.7 kB / 0.5351 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/0.03137, allocations: 177.3 kB / 0.5353 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002681/0.03164, allocations: 268.5 kB / 0.5355 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/0.03194, allocations: 148.9 kB / 0.5357 GB, free: 1.676 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/0.03216, allocations: 272.7 kB / 0.5359 GB, free: 1.402 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.03228, allocations: 144.9 kB / 0.5361 GB, free: 1.254 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006493/0.03293, allocations: 320.2 kB / 0.5364 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.91e-07/0.03293, allocations: 3.938 kB / 0.5364 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000723/0.03365, allocations: 83.88 kB / 0.5365 GB, free: 0.8594 MB / 0.4948 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.0007379/0.03439, allocations: 363.1 kB / 0.5368 GB, free: 0.5078 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004002/0.03479, allocations: 110.7 kB / 0.5369 GB, free: 408 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.0348, allocations: 0 / 0.5369 GB, free: 408 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.447e-06/0.0348, allocations: 0 / 0.5369 GB, free: 408 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009778/0.03578, allocations: 0.713 MB / 0.5376 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.03693, allocations: 0.5146 MB / 0.5381 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004981/0.03742, allocations: 160.3 kB / 0.5383 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.622e-05/0.03744, allocations: 0 / 0.5383 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.03748, allocations: 12.5 kB / 0.5383 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of SimCode: time 1.072e-06/0.03748, allocations: 0 / 0.5383 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of Templates: time 0.01342/0.0509, allocations: 3.062 MB / 0.5413 GB, free: 12.05 MB / 0.5105 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.239806020981632]