Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008534/0.0008534, allocations: 69.89 kB / 20.65 MB, free: 3.844 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.0009625/0.0009625, allocations: 173 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 0.9943/0.9943, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8454/0.8454, allocations: 154.9 MB / 415.9 MB, free: 268 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.5219 GB, free: 1.594 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.158e-05, allocations: 5.531 kB / 0.5219 GB, free: 1.59 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003054/0.003085, allocations: 1.466 MB / 0.5233 GB, free: 140 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003414/0.006499, allocations: 2.6 MB / 0.5258 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.356e-05/0.006543, allocations: 0 / 0.5258 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001835/0.008377, allocations: 0.5682 MB / 0.5264 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.1e-05/0.008448, allocations: 27.84 kB / 0.5264 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 4.168e-06/0.008452, allocations: 0 / 0.5264 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.008729, allocations: 166.8 kB / 0.5266 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.162e-05/0.008791, allocations: 16.58 kB / 0.5266 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.008928, allocations: 76.83 kB / 0.5267 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.009071, allocations: 67.77 kB / 0.5267 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.009089, allocations: 7.219 kB / 0.5267 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009426/0.01003, allocations: 402.5 kB / 0.5271 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.581e-05/0.0101, allocations: 39.77 kB / 0.5272 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.31e-05/0.01018, allocations: 59.8 kB / 0.5272 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006851/0.01087, allocations: 430.1 kB / 0.5276 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.01087, allocations: 0 / 0.5276 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.403e-06/0.01087, allocations: 0 / 0.5276 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.01088, allocations: 0 / 0.5276 GB, free: 11.7 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.0008242/0.0117, allocations: 0.5904 MB / 0.5282 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.01174, allocations: 8.031 kB / 0.5282 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.01192, allocations: 151.9 kB / 0.5284 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.01214, allocations: 291.1 kB / 0.5286 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.621e-05/0.01221, allocations: 243.7 kB / 0.5289 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.622e-05/0.01229, allocations: 246.8 kB / 0.5291 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.225e-05/0.01236, allocations: 149.4 kB / 0.5292 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.914e-05/0.0124, allocations: 119.9 kB / 0.5294 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.926e-05/0.01247, allocations: 239.4 kB / 0.5296 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.985e-05/0.01254, allocations: 238.8 kB / 0.5298 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.348e-05/0.01261, allocations: 250.9 kB / 0.5301 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.01301, allocations: 0.627 MB / 0.5307 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.01312, allocations: 274 kB / 0.5309 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.159e-05/0.01316, allocations: 129.7 kB / 0.531 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.091e-05/0.01321, allocations: 119.2 kB / 0.5312 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.073e-05/0.01327, allocations: 156.6 kB / 0.5313 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.01327, allocations: 0 / 0.5313 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 0.0001748/0.01345, allocations: 61.44 kB / 0.5314 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.066e-05/0.01352, allocations: 170.6 kB / 0.5315 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004607/0.01398, allocations: 478.2 kB / 0.532 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.01403, allocations: 28.14 kB / 0.532 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.01415, allocations: 203.2 kB / 0.5322 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-06/0.01415, allocations: 3.984 kB / 0.5322 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.01429, allocations: 123.2 kB / 0.5323 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.01448, allocations: 0.539 MB / 0.5329 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.677e-05/0.01453, allocations: 28.66 kB / 0.5329 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.01466, allocations: 137.6 kB / 0.533 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.01489, allocations: 199 kB / 0.5332 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.01489, allocations: 0 / 0.5332 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004514/0.01534, allocations: 249.1 kB / 0.5334 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.01536, allocations: 11.38 kB / 0.5335 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.01537, allocations: 0 / 0.5335 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.01538, allocations: 4 kB / 0.5335 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.707e-06/0.01538, allocations: 5.156 kB / 0.5335 GB, free: 5.477 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.01539, allocations: 4 kB / 0.5335 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.01555, allocations: 39.56 kB / 0.5335 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.01557, allocations: 9.344 kB / 0.5335 GB, free: 5.426 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.0001931/0.01576, allocations: 291.7 kB / 0.5338 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.502e-05/0.01584, allocations: 170 kB / 0.534 GB, free: 4.957 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.973e-05/0.0159, allocations: 158.8 kB / 0.5341 GB, free: 4.797 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.147e-05/0.01598, allocations: 268.1 kB / 0.5344 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.387e-05/0.01605, allocations: 264.7 kB / 0.5346 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-05/0.01613, allocations: 276 kB / 0.5349 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.01644, allocations: 0.5244 MB / 0.5354 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-05/0.01648, allocations: 148.8 kB / 0.5355 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-05/0.01652, allocations: 154.4 kB / 0.5357 GB, free: 3.117 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.671e-05/0.0166, allocations: 264.1 kB / 0.5359 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.397e-05/0.01667, allocations: 272 kB / 0.5362 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.225e-05/0.01675, allocations: 268.1 kB / 0.5364 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.537e-05/0.01682, allocations: 269 kB / 0.5367 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.01701, allocations: 471.8 kB / 0.5372 GB, free: 1.551 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.068e-05/0.01709, allocations: 173.2 kB / 0.5373 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002693/0.01736, allocations: 272.1 kB / 0.5376 GB, free: 1.102 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.0175, allocations: 153.7 kB / 0.5377 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.756e-05/0.01759, allocations: 272.8 kB / 0.538 GB, free: 0.6719 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/0.01763, allocations: 144.9 kB / 0.5381 GB, free: 0.5234 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002064/0.01784, allocations: 259.5 kB / 0.5384 GB, free: 276 kB / 0.4948 GB Notification: Performance of sort global known variables: time 1.8e-07/0.01784, allocations: 3.938 kB / 0.5384 GB, free: 272 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004647/0.0183, allocations: 89.2 kB / 0.5385 GB, free: 184 kB / 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.0004568/0.01876, allocations: 364.1 kB / 0.5388 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000185/0.01895, allocations: 92.89 kB / 0.5389 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.01895, allocations: 0 / 0.5389 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.883e-06/0.01895, allocations: 0.6875 kB / 0.5389 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.0194, allocations: 0.7154 MB / 0.5396 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000755/0.02015, allocations: 0.4897 MB / 0.5401 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.856e-05/0.02023, allocations: 101.1 kB / 0.5402 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.419e-05/0.02024, allocations: 0 / 0.5402 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.02031, allocations: 78.19 kB / 0.5402 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.112e-06/0.02031, allocations: 1.188 kB / 0.5402 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.007841/0.02815, allocations: 4.416 MB / 0.5446 GB, free: 10.04 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9061163859441876]