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.001194/0.001194, allocations: 92.22 kB / 19.65 MB, free: 276 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.001001/0.001001, allocations: 169 kB / 23.02 MB, free: 1.551 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.4 MB, free: 5.629 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.8188/0.8188, allocations: 154.8 MB / 414.7 MB, free: 492 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.052e-06/1.052e-06, allocations: 0 / 0.5205 GB, free: 1.977 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.837e-05, allocations: 4.562 kB / 0.5205 GB, free: 1.973 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001669/0.001688, allocations: 1.466 MB / 0.522 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.003678, allocations: 2.642 MB / 0.5245 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.69e-05/0.003705, allocations: 0 / 0.5245 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009536/0.004659, allocations: 0.5595 MB / 0.5251 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 3.862e-05/0.004697, allocations: 19.91 kB / 0.5251 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 3.056e-06/0.0047, allocations: 0 / 0.5251 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.004893, allocations: 167.5 kB / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/0.004935, allocations: 12.59 kB / 0.5253 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.392e-05/0.005008, allocations: 84.5 kB / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.199e-05/0.0051, allocations: 63.83 kB / 0.5254 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.005113, allocations: 6.969 kB / 0.5254 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005332/0.005646, allocations: 408.6 kB / 0.5258 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.074e-05/0.005687, allocations: 36.69 kB / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.786e-05/0.005745, allocations: 59.81 kB / 0.5259 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003975/0.006142, allocations: 434.1 kB / 0.5263 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.006144, allocations: 0.9688 kB / 0.5263 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.5e-07/0.006145, allocations: 0 / 0.5263 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.006149, allocations: 0.5938 kB / 0.5263 GB, free: 12.06 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.0005088/0.006658, allocations: 0.5899 MB / 0.5269 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.006692, allocations: 11.97 kB / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.978e-05/0.006792, allocations: 148.5 kB / 0.5271 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.006952, allocations: 295.5 kB / 0.5273 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.317e-05/0.007005, allocations: 238.8 kB / 0.5276 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.814e-05/0.007063, allocations: 246.8 kB / 0.5278 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.379e-05/0.007117, allocations: 150.6 kB / 0.5279 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.007144, allocations: 123.4 kB / 0.5281 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.709e-05/0.007191, allocations: 238.8 kB / 0.5283 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.303e-05/0.007244, allocations: 239.4 kB / 0.5285 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.534e-05/0.007289, allocations: 242.3 kB / 0.5287 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.007573, allocations: 0.6903 MB / 0.5294 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.309e-05/0.007646, allocations: 273.4 kB / 0.5297 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.815e-05/0.007674, allocations: 126.9 kB / 0.5298 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.007698, allocations: 122.6 kB / 0.5299 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.007735, allocations: 152.6 kB / 0.5301 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.007736, allocations: 0 / 0.5301 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 9.856e-05/0.007834, allocations: 53.52 kB / 0.5301 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.007882, allocations: 178.6 kB / 0.5303 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.008191, allocations: 486.3 kB / 0.5308 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/0.0082, allocations: 25.7 kB / 0.5308 GB, free: 7.332 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.162e-05/0.008282, allocations: 195.3 kB / 0.531 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.008284, allocations: 0 / 0.531 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.00839, allocations: 123.3 kB / 0.5311 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.008522, allocations: 0.5262 MB / 0.5316 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.753e-05/0.008569, allocations: 44.64 kB / 0.5316 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.93e-05/0.008658, allocations: 149.7 kB / 0.5318 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.008816, allocations: 225.5 kB / 0.532 GB, free: 6.004 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.008819, allocations: 0 / 0.532 GB, free: 6.004 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003131/0.009132, allocations: 269.1 kB / 0.5323 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.009143, allocations: 6.938 kB / 0.5323 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.009149, allocations: 4 kB / 0.5323 GB, free: 5.727 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.009165, allocations: 1.438 kB / 0.5323 GB, free: 5.727 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.979e-06/0.00917, allocations: 7.938 kB / 0.5323 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.009175, allocations: 0 / 0.5323 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.029e-05/0.009256, allocations: 51.45 kB / 0.5323 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.009265, allocations: 4.594 kB / 0.5323 GB, free: 5.664 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.0001033/0.009368, allocations: 288.8 kB / 0.5326 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.009422, allocations: 168.7 kB / 0.5328 GB, free: 5.199 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.842e-05/0.00947, allocations: 161.5 kB / 0.5329 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.432e-05/0.009525, allocations: 264.1 kB / 0.5332 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.029e-05/0.009585, allocations: 276.1 kB / 0.5334 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003519/0.009937, allocations: 276 kB / 0.5337 GB, free: 4.219 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003014/0.01024, allocations: 0.5857 MB / 0.5343 GB, free: 3.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.144e-05/0.01027, allocations: 144.9 kB / 0.5344 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.0103, allocations: 148.9 kB / 0.5345 GB, free: 3.289 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.756e-05/0.01036, allocations: 282.6 kB / 0.5348 GB, free: 3.008 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.417e-05/0.01041, allocations: 264.1 kB / 0.5351 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.262e-05/0.01046, allocations: 268 kB / 0.5353 GB, free: 2.473 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.281e-05/0.01052, allocations: 268.1 kB / 0.5356 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.01067, allocations: 471.7 kB / 0.536 GB, free: 1.715 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.421e-05/0.01074, allocations: 172.7 kB / 0.5362 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.212e-05/0.01081, allocations: 272 kB / 0.5365 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.128e-05/0.01091, allocations: 146.9 kB / 0.5366 GB, free: 1.117 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.01096, allocations: 272 kB / 0.5369 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.01099, allocations: 144.9 kB / 0.537 GB, free: 0.6953 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001833/0.01118, allocations: 267.1 kB / 0.5372 GB, free: 444 kB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01118, allocations: 0 / 0.5372 GB, free: 444 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003044/0.01148, allocations: 92.48 kB / 0.5373 GB, free: 352 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.000321/0.0118, allocations: 347.8 kB / 0.5377 GB, free: 8 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001866/0.01199, allocations: 108.9 kB / 0.5378 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01199, allocations: 5.25 kB / 0.5378 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.01199, allocations: 0 / 0.5378 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.01232, allocations: 0.7148 MB / 0.5385 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006387/0.01296, allocations: 492.2 kB / 0.5389 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.029e-05/0.01302, allocations: 99.81 kB / 0.539 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.016e-05/0.01303, allocations: 0.6875 kB / 0.539 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.01306, allocations: 16.48 kB / 0.5391 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of SimCode: time 1.332e-06/0.01306, allocations: 5.188 kB / 0.5391 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of Templates: time 0.005139/0.0182, allocations: 3.056 MB / 0.542 GB, free: 11.64 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.9621419957838953]