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.002465/0.002465, allocations: 85.48 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.003252/0.003252, allocations: 177.2 kB / 22.77 MB, free: 1.656 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.56/1.56, 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 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 1.361/1.361, allocations: 154.8 MB / 414.4 MB, free: 468 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 178] 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.663e-06/1.663e-06, allocations: 0 / 0.5198 GB, free: 2.328 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.064e-05/3.23e-05, allocations: 7.859 kB / 0.5198 GB, free: 2.32 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003051/0.003083, allocations: 1.444 MB / 0.5212 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00453/0.007613, allocations: 2.621 MB / 0.5238 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.232e-05/0.007665, allocations: 0.7812 kB / 0.5238 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002209/0.009874, allocations: 0.5552 MB / 0.5243 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.524e-05/0.009949, allocations: 15.91 kB / 0.5244 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 5.38e-06/0.009955, allocations: 4 kB / 0.5244 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003232/0.01028, allocations: 168.2 kB / 0.5245 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.699e-05/0.01033, allocations: 12.59 kB / 0.5245 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.0105, allocations: 83.78 kB / 0.5246 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.01066, allocations: 72.67 kB / 0.5247 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.01068, allocations: 4 kB / 0.5247 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.01173, allocations: 406.9 kB / 0.5251 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.232e-05/0.0118, allocations: 40.28 kB / 0.5251 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.629e-05/0.0119, allocations: 47.88 kB / 0.5252 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007475/0.01264, allocations: 462.6 kB / 0.5256 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.01265, allocations: 1.469 kB / 0.5256 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.283e-06/0.01265, allocations: 0 / 0.5256 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.01266, allocations: 0 / 0.5256 GB, free: 12.43 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.001135/0.01379, allocations: 0.587 MB / 0.5262 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.01384, allocations: 8.031 kB / 0.5262 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/0.01404, allocations: 147.9 kB / 0.5263 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.01436, allocations: 298.5 kB / 0.5266 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.0145, allocations: 242.8 kB / 0.5268 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.01463, allocations: 242.8 kB / 0.5271 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.01476, allocations: 156.2 kB / 0.5272 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.971e-05/0.01483, allocations: 119.4 kB / 0.5273 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.01495, allocations: 238.8 kB / 0.5276 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/0.01507, allocations: 238.8 kB / 0.5278 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.0152, allocations: 242.3 kB / 0.528 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/0.01578, allocations: 0.6889 MB / 0.5287 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.01597, allocations: 273.4 kB / 0.529 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.281e-05/0.01604, allocations: 127.7 kB / 0.5291 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.826e-05/0.01611, allocations: 119.2 kB / 0.5292 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.843e-05/0.01621, allocations: 157.8 kB / 0.5293 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.01621, allocations: 0 / 0.5293 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 0.0001982/0.01641, allocations: 57.5 kB / 0.5294 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.01652, allocations: 173.4 kB / 0.5296 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000655/0.01718, allocations: 0.5257 MB / 0.5301 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.0172, allocations: 25.7 kB / 0.5301 GB, free: 7.652 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.01738, allocations: 203.3 kB / 0.5303 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.01738, allocations: 0 / 0.5303 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.01754, allocations: 127.2 kB / 0.5304 GB, free: 7.312 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003132/0.01785, allocations: 0.5274 MB / 0.5309 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.886e-05/0.01793, allocations: 36.66 kB / 0.531 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.01811, allocations: 140.5 kB / 0.5311 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.01841, allocations: 221.5 kB / 0.5313 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01841, allocations: 0 / 0.5313 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005221/0.01893, allocations: 257.2 kB / 0.5316 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.01895, allocations: 6.656 kB / 0.5316 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.01896, allocations: 0 / 0.5316 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.01898, allocations: 4.875 kB / 0.5316 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.847e-06/0.01898, allocations: 3.938 kB / 0.5316 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.01899, allocations: 7.984 kB / 0.5316 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.01915, allocations: 44.84 kB / 0.5316 GB, free: 6.012 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.01917, allocations: 8 kB / 0.5316 GB, free: 6.004 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.0002593/0.01943, allocations: 317.2 kB / 0.5319 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.01956, allocations: 180.6 kB / 0.5321 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.851e-05/0.01966, allocations: 158.8 kB / 0.5323 GB, free: 5.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001402/0.0198, allocations: 264.1 kB / 0.5325 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001413/0.01994, allocations: 268.8 kB / 0.5328 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002776/0.02022, allocations: 280.7 kB / 0.533 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004635/0.02068, allocations: 0.5857 MB / 0.5336 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.578e-05/0.02077, allocations: 149.6 kB / 0.5337 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.669e-05/0.02084, allocations: 144.9 kB / 0.5339 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001491/0.02099, allocations: 281.5 kB / 0.5342 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001587/0.02115, allocations: 268.1 kB / 0.5344 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001458/0.0213, allocations: 268 kB / 0.5347 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000155/0.02145, allocations: 268.1 kB / 0.5349 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.02176, allocations: 472.3 kB / 0.5354 GB, free: 2.016 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.02189, allocations: 168.7 kB / 0.5355 GB, free: 1.844 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.02207, allocations: 272.5 kB / 0.5358 GB, free: 1.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.02224, allocations: 149.9 kB / 0.5359 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.0224, allocations: 272 kB / 0.5362 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-05/0.02248, allocations: 144.9 kB / 0.5363 GB, free: 0.9961 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003562/0.02284, allocations: 320.2 kB / 0.5366 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02284, allocations: 0 / 0.5366 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004256/0.02326, allocations: 87.86 kB / 0.5367 GB, free: 0.5977 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.0004902/0.02375, allocations: 358 kB / 0.5371 GB, free: 260 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002227/0.02398, allocations: 104.9 kB / 0.5372 GB, free: 152 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.02398, allocations: 0 / 0.5372 GB, free: 152 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.117e-06/0.02398, allocations: 7.938 kB / 0.5372 GB, free: 144 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006428/0.02462, allocations: 0.715 MB / 0.5379 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007383/0.02536, allocations: 0.5146 MB / 0.5384 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.02553, allocations: 154.9 kB / 0.5385 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.339e-05/0.02554, allocations: 4.609 kB / 0.5385 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.02557, allocations: 12.5 kB / 0.5385 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of SimCode: time 6.01e-07/0.02557, allocations: 0.5625 kB / 0.5385 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of Templates: time 0.007874/0.03345, allocations: 3.054 MB / 0.5415 GB, free: 11.8 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: 6.1350390270818025]