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.0007189/0.0007189, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007204/0.0007204, allocations: 178.2 kB / 23.22 MB, free: 1.348 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 0.8374/0.8374, allocations: 177.1 MB / 203.5 MB, free: 5.738 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-531:190: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-531:198: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.6764/0.6764, allocations: 154.5 MB / 414.5 MB, free: 0.8164 MB / 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 2.104e-06/2.104e-06, allocations: 0 / 0.6192 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.68e-05/3.89e-05, allocations: 2.281 kB / 0.6192 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003175/0.003214, allocations: 1.431 MB / 0.6206 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003308/0.006521, allocations: 2.382 MB / 0.623 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.663e-05/0.006568, allocations: 8 kB / 0.623 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.002214/0.008781, allocations: 0.558 MB / 0.6235 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.497e-05/0.008866, allocations: 19.91 kB / 0.6235 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.46e-06/0.008872, allocations: 0 / 0.6235 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.009164, allocations: 170.8 kB / 0.6237 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 6.802e-05/0.009232, allocations: 8.594 kB / 0.6237 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.009371, allocations: 87.78 kB / 0.6238 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.009527, allocations: 59.83 kB / 0.6239 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.009547, allocations: 0 / 0.6239 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.01063, allocations: 415.3 kB / 0.6242 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.653e-05/0.01072, allocations: 35.78 kB / 0.6243 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.01084, allocations: 55.88 kB / 0.6243 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0007924/0.01163, allocations: 458.1 kB / 0.6248 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.01163, allocations: 0 / 0.6248 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.774e-06/0.01164, allocations: 4 kB / 0.6248 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.01165, allocations: 0 / 0.6248 GB, free: 7.562 MB / 0.5886 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.0008846/0.01253, allocations: 492.7 kB / 0.6252 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.01258, allocations: 9.469 kB / 0.6253 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.01275, allocations: 104 kB / 0.6254 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.01301, allocations: 251.8 kB / 0.6256 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.742e-05/0.01307, allocations: 150.9 kB / 0.6257 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.602e-05/0.01313, allocations: 158.9 kB / 0.6259 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.452e-05/0.0132, allocations: 105.5 kB / 0.626 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/0.01324, allocations: 83.47 kB / 0.6261 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-05/0.01329, allocations: 150.9 kB / 0.6262 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.697e-05/0.01333, allocations: 150.9 kB / 0.6264 GB, free: 5.875 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.346e-05/0.01339, allocations: 154.5 kB / 0.6265 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.01377, allocations: 493.3 kB / 0.627 GB, free: 5.211 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.375e-05/0.01387, allocations: 177.1 kB / 0.6271 GB, free: 5.027 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.0139, allocations: 80.14 kB / 0.6272 GB, free: 4.945 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.01393, allocations: 75.28 kB / 0.6273 GB, free: 4.871 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/0.01398, allocations: 105.8 kB / 0.6274 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.373e-06/0.01398, allocations: 0 / 0.6274 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 0.0001952/0.01418, allocations: 57.5 kB / 0.6274 GB, free: 4.695 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.988e-05/0.01425, allocations: 138.6 kB / 0.6276 GB, free: 4.547 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004525/0.0147, allocations: 433.3 kB / 0.628 GB, free: 4.117 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.01472, allocations: 29.7 kB / 0.628 GB, free: 4.082 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.758e-05/0.01481, allocations: 132.6 kB / 0.6281 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.877e-06/0.01481, allocations: 0 / 0.6281 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.01491, allocations: 89.66 kB / 0.6282 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.01503, allocations: 338.8 kB / 0.6286 GB, free: 3.516 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.01516, allocations: 100.6 kB / 0.6287 GB, free: 3.418 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.01533, allocations: 161.9 kB / 0.6288 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/0.01563, allocations: 305.6 kB / 0.6291 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.01564, allocations: 4 kB / 0.6291 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005107/0.01615, allocations: 337 kB / 0.6294 GB, free: 2.578 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.01617, allocations: 4 kB / 0.6294 GB, free: 2.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.01618, allocations: 4 kB / 0.6294 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.0162, allocations: 0 / 0.6294 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.937e-06/0.0162, allocations: 7.938 kB / 0.6294 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.01621, allocations: 0 / 0.6294 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.01635, allocations: 51.48 kB / 0.6295 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.01636, allocations: 4 kB / 0.6295 GB, free: 2.508 MB / 0.5886 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.0002466/0.01661, allocations: 246.3 kB / 0.6297 GB, free: 2.258 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.258e-05/0.01668, allocations: 124.7 kB / 0.6298 GB, free: 2.129 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.318e-05/0.01673, allocations: 114.9 kB / 0.63 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.896e-05/0.01679, allocations: 184.2 kB / 0.6301 GB, free: 1.824 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.014e-05/0.01685, allocations: 184.3 kB / 0.6303 GB, free: 1.637 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.489e-05/0.01691, allocations: 180.2 kB / 0.6305 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.01721, allocations: 428.8 kB / 0.6309 GB, free: 0.9961 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.244e-05/0.01724, allocations: 105 kB / 0.631 GB, free: 0.8867 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.01728, allocations: 109 kB / 0.6311 GB, free: 0.7734 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-05/0.01733, allocations: 180.2 kB / 0.6313 GB, free: 0.5898 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.835e-05/0.01739, allocations: 180.3 kB / 0.6314 GB, free: 416 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.292e-05/0.01745, allocations: 184.2 kB / 0.6316 GB, free: 224 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.382e-05/0.0175, allocations: 184.3 kB / 0.6318 GB, free: 32 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.01766, allocations: 331.5 kB / 0.6321 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.369e-05/0.01773, allocations: 128.8 kB / 0.6322 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.79e-05/0.01781, allocations: 184.2 kB / 0.6324 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.01793, allocations: 105 kB / 0.6325 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.01799, allocations: 176.3 kB / 0.6327 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/0.01802, allocations: 108.9 kB / 0.6328 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002653/0.01829, allocations: 275.1 kB / 0.633 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.01829, allocations: 0 / 0.633 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004627/0.01875, allocations: 91.8 kB / 0.6331 GB, free: 14.6 MB / 0.6042 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.0004041/0.01915, allocations: 314.2 kB / 0.6334 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001733/0.01933, allocations: 123.9 kB / 0.6335 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.01933, allocations: 0 / 0.6335 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.01933, allocations: 7.875 kB / 0.6335 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.01962, allocations: 467.5 kB / 0.634 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.02013, allocations: 0.4968 MB / 0.6345 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.02023, allocations: 168.6 kB / 0.6346 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.168e-05/0.02025, allocations: 12.5 kB / 0.6347 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of SimCode: time 9.72e-07/0.02026, allocations: 0 / 0.6347 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.003719/0.02397, allocations: 3.263 MB / 0.6378 GB, free: 9.703 MB / 0.6042 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.924588017165661] Failed to read output from testmodel.py, exit status != 0: 0.030916026793420315 0.037515157 0.024079239000000002 Calling exit ...