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.001182/0.001182, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.001311/0.001311, allocations: 169.4 kB / 24.06 MB, free: 448 kB / 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.02/1.02, allocations: 177.1 MB / 204.5 MB, free: 5.508 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-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 0.7904/0.7904, allocations: 154.6 MB / 415.6 MB, free: 0.5508 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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.5215 GB, free: 1.953 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.303e-05, allocations: 5.266 kB / 0.5215 GB, free: 1.949 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001953/0.001976, allocations: 1.455 MB / 0.5229 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.004305, allocations: 2.6 MB / 0.5255 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.004336, allocations: 1.594 kB / 0.5255 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009562/0.005292, allocations: 0.5733 MB / 0.526 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 3.738e-05/0.00533, allocations: 20.58 kB / 0.526 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 3.156e-06/0.005333, allocations: 0 / 0.526 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.005537, allocations: 171.8 kB / 0.5262 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.005581, allocations: 8.594 kB / 0.5262 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.752e-05/0.005668, allocations: 87.78 kB / 0.5263 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.848e-05/0.005767, allocations: 61.33 kB / 0.5264 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.00578, allocations: 4 kB / 0.5264 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005466/0.006327, allocations: 414.4 kB / 0.5268 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.346e-05/0.00637, allocations: 29.11 kB / 0.5268 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.536e-05/0.006425, allocations: 59.86 kB / 0.5268 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003952/0.006821, allocations: 434.1 kB / 0.5273 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.006823, allocations: 4.625 kB / 0.5273 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.11e-07/0.006824, allocations: 0 / 0.5273 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.006827, allocations: 2.75 kB / 0.5273 GB, free: 12.07 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.0004722/0.007299, allocations: 0.5966 MB / 0.5278 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.007328, allocations: 12.03 kB / 0.5279 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.444e-05/0.007422, allocations: 144 kB / 0.528 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.007565, allocations: 282.5 kB / 0.5283 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.88e-05/0.007624, allocations: 246.7 kB / 0.5285 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.511e-05/0.007679, allocations: 245.8 kB / 0.5287 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.821e-05/0.007737, allocations: 145.5 kB / 0.5289 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.007763, allocations: 119.4 kB / 0.529 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.065e-05/0.007814, allocations: 250.7 kB / 0.5292 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.115e-05/0.007865, allocations: 238.8 kB / 0.5295 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.9e-05/0.007914, allocations: 242.3 kB / 0.5297 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002454/0.008159, allocations: 0.627 MB / 0.5303 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.523e-05/0.008234, allocations: 261.4 kB / 0.5305 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.833e-05/0.008263, allocations: 132.4 kB / 0.5307 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002967/0.00856, allocations: 131.1 kB / 0.5308 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.008596, allocations: 152.6 kB / 0.5309 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.008597, allocations: 7.125 kB / 0.531 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 0.0001051/0.008702, allocations: 53.52 kB / 0.531 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.008758, allocations: 170.6 kB / 0.5312 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.009034, allocations: 482.2 kB / 0.5316 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.009044, allocations: 25.7 kB / 0.5316 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/0.009126, allocations: 203.2 kB / 0.5318 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.009128, allocations: 0 / 0.5318 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.242e-05/0.00921, allocations: 127.2 kB / 0.532 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.009335, allocations: 0.5351 MB / 0.5325 GB, free: 6.527 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.274e-05/0.009368, allocations: 31.09 kB / 0.5325 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.939e-05/0.009448, allocations: 137.7 kB / 0.5326 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.009587, allocations: 205.5 kB / 0.5328 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.009588, allocations: 0 / 0.5328 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0002786/0.009867, allocations: 249.1 kB / 0.5331 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.009878, allocations: 4 kB / 0.5331 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.009883, allocations: 1.125 kB / 0.5331 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.009892, allocations: 4 kB / 0.5331 GB, free: 5.852 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.064e-06/0.009894, allocations: 3.984 kB / 0.5331 GB, free: 5.848 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.009899, allocations: 8.844 kB / 0.5331 GB, free: 5.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.05e-05/0.009979, allocations: 43.52 kB / 0.5331 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.009987, allocations: 9.062 kB / 0.5332 GB, free: 5.789 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.0001039/0.01009, allocations: 287.4 kB / 0.5334 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.123e-05/0.01014, allocations: 160.8 kB / 0.5336 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.01018, allocations: 162.7 kB / 0.5337 GB, free: 5.168 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.288e-05/0.01024, allocations: 272.2 kB / 0.534 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.015e-05/0.01029, allocations: 272 kB / 0.5343 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.236e-05/0.01034, allocations: 264.1 kB / 0.5345 GB, free: 4.355 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.01054, allocations: 0.5301 MB / 0.535 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.053e-05/0.01057, allocations: 152.8 kB / 0.5352 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.094e-05/0.0106, allocations: 152.9 kB / 0.5353 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.163e-05/0.01065, allocations: 268 kB / 0.5356 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.563e-05/0.0107, allocations: 272.1 kB / 0.5358 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.217e-05/0.01076, allocations: 268.1 kB / 0.5361 GB, free: 2.668 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-05/0.01081, allocations: 269.9 kB / 0.5363 GB, free: 2.398 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.01094, allocations: 467.7 kB / 0.5368 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.704e-05/0.011, allocations: 176.7 kB / 0.537 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.926e-05/0.01106, allocations: 272 kB / 0.5372 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.139e-05/0.01115, allocations: 148.9 kB / 0.5374 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/0.0112, allocations: 265.5 kB / 0.5376 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.01123, allocations: 156.8 kB / 0.5378 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003777/0.01161, allocations: 251 kB / 0.538 GB, free: 0.6406 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01161, allocations: 0 / 0.538 GB, free: 0.6406 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002488/0.01186, allocations: 93.08 kB / 0.5381 GB, free: 0.5508 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.0002684/0.01213, allocations: 365.7 kB / 0.5384 GB, free: 208 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.01225, allocations: 97.95 kB / 0.5385 GB, free: 108 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.01225, allocations: 1.281 kB / 0.5385 GB, free: 108 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.01225, allocations: 0 / 0.5385 GB, free: 108 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005728/0.01282, allocations: 0.7245 MB / 0.5392 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004941/0.01332, allocations: 0.4889 MB / 0.5397 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.421e-05/0.01337, allocations: 95.28 kB / 0.5398 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.169e-05/0.01338, allocations: 4.625 kB / 0.5398 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.01343, allocations: 74.2 kB / 0.5399 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/0.01343, allocations: 0.9375 kB / 0.5399 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of Templates: time 0.005641/0.01907, allocations: 4.406 MB / 0.5442 GB, free: 10.41 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: 4.0195663729682565]