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.001286/0.001286, allocations: 76.3 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001469/0.001469, allocations: 174.3 kB / 22.46 MB, free: 5.355 MB / 14.72 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.455/1.455, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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-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 1.229/1.229, allocations: 154.6 MB / 413.7 MB, free: 5.281 MB / 382.1 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.383e-06/1.383e-06, allocations: 0 / 0.6185 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.383e-05, allocations: 6.281 kB / 0.6185 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002633/0.002657, allocations: 1.408 MB / 0.6199 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003386/0.006043, allocations: 2.398 MB / 0.6222 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.799e-05/0.00608, allocations: 0 / 0.6222 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.007606, allocations: 0.5465 MB / 0.6228 GB, free: 332 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.96e-05/0.007666, allocations: 27.77 kB / 0.6228 GB, free: 304 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.419e-06/0.00767, allocations: 4 kB / 0.6228 GB, free: 300 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.007977, allocations: 158.8 kB / 0.6229 GB, free: 140 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.206e-05/0.008039, allocations: 12.59 kB / 0.6229 GB, free: 124 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.008172, allocations: 99.64 kB / 0.623 GB, free: 24 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.008342, allocations: 63.83 kB / 0.6231 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.00836, allocations: 4 kB / 0.6231 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008878/0.009247, allocations: 403.4 kB / 0.6235 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.473e-05/0.009312, allocations: 35.84 kB / 0.6235 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.19e-05/0.009404, allocations: 59.8 kB / 0.6236 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006613/0.01007, allocations: 458.1 kB / 0.624 GB, free: 15.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.01007, allocations: 3.938 kB / 0.624 GB, free: 15.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.62e-07/0.01007, allocations: 0 / 0.624 GB, free: 15.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.01008, allocations: 0 / 0.624 GB, free: 15.02 MB / 0.545 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.0007805/0.01086, allocations: 492.8 kB / 0.6245 GB, free: 14.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.01089, allocations: 9.469 kB / 0.6245 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.01106, allocations: 104 kB / 0.6246 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.0113, allocations: 247.8 kB / 0.6248 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.358e-05/0.01137, allocations: 154.9 kB / 0.625 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.843e-05/0.01145, allocations: 154.9 kB / 0.6251 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.074e-05/0.01152, allocations: 105.5 kB / 0.6252 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.635e-05/0.01156, allocations: 75.47 kB / 0.6253 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-05/0.01162, allocations: 158.9 kB / 0.6255 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.053e-05/0.01168, allocations: 150.9 kB / 0.6256 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.63e-05/0.01175, allocations: 154.5 kB / 0.6257 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.01213, allocations: 0.4933 MB / 0.6262 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.853e-05/0.01223, allocations: 173.1 kB / 0.6264 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.293e-05/0.01228, allocations: 80.14 kB / 0.6265 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.01231, allocations: 75.28 kB / 0.6265 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.444e-05/0.01237, allocations: 109.8 kB / 0.6266 GB, free: 12.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.01237, allocations: 0 / 0.6266 GB, free: 12.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001803/0.01255, allocations: 61.44 kB / 0.6267 GB, free: 12.14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.01262, allocations: 126.7 kB / 0.6268 GB, free: 12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004734/0.01309, allocations: 437.3 kB / 0.6272 GB, free: 11.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.01311, allocations: 29.7 kB / 0.6273 GB, free: 11.54 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.01321, allocations: 132.6 kB / 0.6274 GB, free: 11.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-06/0.01321, allocations: 0 / 0.6274 GB, free: 11.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.735e-05/0.01331, allocations: 89.66 kB / 0.6275 GB, free: 11.31 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.01347, allocations: 338.8 kB / 0.6278 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.0136, allocations: 104.6 kB / 0.6279 GB, free: 10.87 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.01378, allocations: 165.9 kB / 0.6281 GB, free: 10.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.01411, allocations: 305.6 kB / 0.6284 GB, free: 10.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01412, allocations: 0 / 0.6284 GB, free: 10.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005373/0.01465, allocations: 333 kB / 0.6287 GB, free: 10.03 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.01467, allocations: 8 kB / 0.6287 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.01468, allocations: 224 / 0.6287 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.01469, allocations: 8 kB / 0.6287 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/0.01469, allocations: 0 / 0.6287 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.0147, allocations: 4 kB / 0.6287 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.01485, allocations: 47.45 kB / 0.6287 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.01486, allocations: 7.984 kB / 0.6287 GB, free: 9.957 MB / 0.545 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.0002512/0.01512, allocations: 246 kB / 0.629 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.996e-05/0.01521, allocations: 128.7 kB / 0.6291 GB, free: 9.574 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.528e-05/0.01527, allocations: 119 kB / 0.6292 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.173e-05/0.01535, allocations: 184.2 kB / 0.6294 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.747e-05/0.01543, allocations: 180.3 kB / 0.6296 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.059e-05/0.01551, allocations: 184.2 kB / 0.6297 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.01581, allocations: 424.8 kB / 0.6301 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.783e-05/0.01586, allocations: 109 kB / 0.6302 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.614e-05/0.0159, allocations: 108.9 kB / 0.6304 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.352e-05/0.01599, allocations: 180.3 kB / 0.6305 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-05/0.01607, allocations: 176.3 kB / 0.6307 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.109e-05/0.01615, allocations: 184.2 kB / 0.6309 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.706e-05/0.01622, allocations: 180.3 kB / 0.631 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.0164, allocations: 327.5 kB / 0.6314 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.529e-05/0.01648, allocations: 120.8 kB / 0.6315 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.01658, allocations: 196.2 kB / 0.6317 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.01673, allocations: 105 kB / 0.6318 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.389e-05/0.01682, allocations: 184.2 kB / 0.6319 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/0.01687, allocations: 101 kB / 0.632 GB, free: 6.406 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002863/0.01715, allocations: 279.1 kB / 0.6323 GB, free: 6.133 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01715, allocations: 0 / 0.6323 GB, free: 6.133 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003702/0.01752, allocations: 91.86 kB / 0.6324 GB, free: 6.043 MB / 0.545 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.0003918/0.01792, allocations: 308.9 kB / 0.6327 GB, free: 5.734 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002021/0.01812, allocations: 120.2 kB / 0.6328 GB, free: 5.617 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01812, allocations: 4.062 kB / 0.6328 GB, free: 5.613 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.01812, allocations: 0 / 0.6328 GB, free: 5.613 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.01854, allocations: 465.2 kB / 0.6332 GB, free: 5.156 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006232/0.01917, allocations: 494.8 kB / 0.6337 GB, free: 4.645 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/0.01933, allocations: 172.1 kB / 0.6339 GB, free: 4.457 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.1e-05/0.01934, allocations: 0 / 0.6339 GB, free: 4.457 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.01936, allocations: 12.5 kB / 0.6339 GB, free: 4.445 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.01936, allocations: 3.938 kB / 0.6339 GB, free: 4.441 MB / 0.545 GB Notification: Performance of Templates: time 0.007106/0.02647, allocations: 3.041 MB / 0.6369 GB, free: 1.434 MB / 0.545 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: 5.852136638015509] Failed to read output from testmodel.py, exit status != 0: 0.03492666408419609 0.04932663899999994 0.036252547 Calling exit ...