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.001018/0.001018, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001075/0.001075, allocations: 173 kB / 23.49 MB, free: 1.055 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.001/1.001, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.821/0.821, allocations: 154.8 MB / 415.1 MB, free: 484 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.713e-06/1.713e-06, allocations: 0 / 0.5205 GB, free: 2.289 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.135e-05, allocations: 10.17 kB / 0.5205 GB, free: 2.281 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002504/0.002526, allocations: 1.461 MB / 0.522 GB, free: 0.832 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002398/0.004923, allocations: 2.623 MB / 0.5245 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.004952, allocations: 0.9062 kB / 0.5245 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.005991, allocations: 0.5585 MB / 0.5251 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 3.614e-05/0.006028, allocations: 16.59 kB / 0.5251 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 4.107e-06/0.006032, allocations: 4 kB / 0.5251 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.006233, allocations: 171.3 kB / 0.5253 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.737e-05/0.006281, allocations: 16.59 kB / 0.5253 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.804e-05/0.006359, allocations: 81.22 kB / 0.5254 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.632e-05/0.006455, allocations: 67.77 kB / 0.5254 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.006467, allocations: 4 kB / 0.5254 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000547/0.007014, allocations: 404.2 kB / 0.5258 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.226e-05/0.007057, allocations: 39.78 kB / 0.5259 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.774e-05/0.007114, allocations: 59.86 kB / 0.5259 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006429/0.007757, allocations: 430.1 kB / 0.5263 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.00776, allocations: 1.688 kB / 0.5263 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.61e-07/0.00776, allocations: 0 / 0.5263 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.007763, allocations: 0 / 0.5263 GB, free: 12.39 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.0005218/0.008285, allocations: 0.5954 MB / 0.5269 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.008318, allocations: 8.031 kB / 0.5269 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.008424, allocations: 148 kB / 0.527 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.008586, allocations: 290.5 kB / 0.5273 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.242e-05/0.008639, allocations: 242.8 kB / 0.5276 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.061e-05/0.008689, allocations: 242.8 kB / 0.5278 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.629e-05/0.008745, allocations: 153.4 kB / 0.5279 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.008771, allocations: 121.3 kB / 0.5281 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.793e-05/0.008819, allocations: 242.7 kB / 0.5283 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-05/0.008867, allocations: 238.8 kB / 0.5285 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.658e-05/0.008914, allocations: 242.3 kB / 0.5287 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.009188, allocations: 0.685 MB / 0.5294 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.989e-05/0.009268, allocations: 278.3 kB / 0.5297 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.119e-05/0.009299, allocations: 126.9 kB / 0.5298 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.009322, allocations: 119.2 kB / 0.5299 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.009359, allocations: 153.3 kB / 0.5301 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.00936, allocations: 8.922 kB / 0.5301 GB, free: 8.418 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 0.0001059/0.009466, allocations: 53.52 kB / 0.5301 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.009514, allocations: 174.5 kB / 0.5303 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.009804, allocations: 483.6 kB / 0.5307 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.754e-06/0.009811, allocations: 25.7 kB / 0.5308 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.534e-05/0.009887, allocations: 199.3 kB / 0.531 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.009889, allocations: 0.625 kB / 0.531 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.947e-05/0.009968, allocations: 127.3 kB / 0.5311 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.01009, allocations: 0.5242 MB / 0.5316 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.394e-05/0.01014, allocations: 43.84 kB / 0.5316 GB, free: 6.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.419e-05/0.01023, allocations: 149.7 kB / 0.5318 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.01039, allocations: 229.5 kB / 0.532 GB, free: 6.324 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.01039, allocations: 4 kB / 0.532 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003133/0.0107, allocations: 257.2 kB / 0.5322 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.01071, allocations: 9.875 kB / 0.5323 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.01072, allocations: 7.922 kB / 0.5323 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.01073, allocations: 4 kB / 0.5323 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.01074, allocations: 3.125 kB / 0.5323 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.01074, allocations: 4 kB / 0.5323 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.943e-05/0.01082, allocations: 47.45 kB / 0.5323 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.01083, allocations: 4 kB / 0.5323 GB, free: 5.988 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 9.117e-05/0.01092, allocations: 279.8 kB / 0.5326 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.118e-05/0.01097, allocations: 176.7 kB / 0.5328 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.886e-05/0.01101, allocations: 154.8 kB / 0.5329 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.913e-05/0.01106, allocations: 269.8 kB / 0.5332 GB, free: 5.098 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003016/0.01136, allocations: 272.2 kB / 0.5334 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.134e-05/0.01141, allocations: 276 kB / 0.5337 GB, free: 4.547 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.01162, allocations: 0.5818 MB / 0.5343 GB, free: 3.922 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.763e-05/0.01165, allocations: 144.9 kB / 0.5344 GB, free: 3.773 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.157e-05/0.01168, allocations: 155.2 kB / 0.5345 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-05/0.01173, allocations: 272.1 kB / 0.5348 GB, free: 3.344 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.032e-05/0.01178, allocations: 268.1 kB / 0.5351 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.956e-05/0.01183, allocations: 272 kB / 0.5353 GB, free: 2.801 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.805e-05/0.01188, allocations: 264.1 kB / 0.5356 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.01199, allocations: 471.7 kB / 0.536 GB, free: 2.047 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.125e-05/0.01204, allocations: 173.6 kB / 0.5362 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.444e-05/0.01212, allocations: 268 kB / 0.5364 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.438e-05/0.01219, allocations: 149.4 kB / 0.5366 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.01225, allocations: 272 kB / 0.5368 GB, free: 1.176 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.01227, allocations: 146.4 kB / 0.537 GB, free: 1.027 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001399/0.01241, allocations: 267.1 kB / 0.5372 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01241, allocations: 3.938 kB / 0.5372 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002319/0.01265, allocations: 87.81 kB / 0.5373 GB, free: 0.6758 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.0002395/0.01289, allocations: 357 kB / 0.5377 GB, free: 340 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000131/0.01302, allocations: 116.8 kB / 0.5378 GB, free: 220 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01302, allocations: 0 / 0.5378 GB, free: 220 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.123e-06/0.01302, allocations: 0 / 0.5378 GB, free: 220 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.01333, allocations: 0.7123 MB / 0.5385 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005364/0.01386, allocations: 492.1 kB / 0.5389 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.154e-05/0.01391, allocations: 104.2 kB / 0.539 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.128e-06/0.01392, allocations: 4 kB / 0.539 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.668e-05/0.01394, allocations: 8.5 kB / 0.539 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of SimCode: time 5.91e-07/0.01394, allocations: 1.062 kB / 0.539 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of Templates: time 0.004661/0.0186, allocations: 3.059 MB / 0.542 GB, free: 11.96 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: 4.037397037027404]