Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.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.001904/0.001904, allocations: 80.67 kB / 19.18 MB, free: 2.527 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.002325/0.002325, allocations: 166.4 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.615/1.615, 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.205/1.205, allocations: 154.6 MB / 413.7 MB, free: 5.297 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.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance") translateModel(IDEAS.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6185 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.303e-05/3.473e-05, allocations: 3.969 kB / 0.6185 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.005459/0.005494, allocations: 3.03 MB / 0.6215 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002671/0.008165, allocations: 1.303 MB / 0.6227 GB, free: 328 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.0083, allocations: 7.938 kB / 0.6227 GB, free: 320 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.009498, allocations: 338.6 kB / 0.6231 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004012/0.009899, allocations: 155 kB / 0.6232 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.01028, allocations: 135.5 kB / 0.6233 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004473/0.01072, allocations: 314.8 kB / 0.6236 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005106/0.01124, allocations: 180.7 kB / 0.6238 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002661/0.0115, allocations: 179.6 kB / 0.624 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003483/0.01185, allocations: 127.6 kB / 0.6241 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.276e-05/0.01189, allocations: 20 kB / 0.6241 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00029/0.01218, allocations: 151.6 kB / 0.6243 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.01238, allocations: 83.73 kB / 0.6243 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.01251, allocations: 83.83 kB / 0.6244 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005978/0.0131, allocations: 350.8 kB / 0.6248 GB, free: 14.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.01311, allocations: 0 / 0.6248 GB, free: 14.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.084e-06/0.01311, allocations: 0 / 0.6248 GB, free: 14.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.01312, allocations: 0 / 0.6248 GB, free: 14.23 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001007/0.01413, allocations: 453.5 kB / 0.6252 GB, free: 13.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.01418, allocations: 13.47 kB / 0.6252 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006367/0.01482, allocations: 80.72 kB / 0.6253 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.01515, allocations: 181.5 kB / 0.6255 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.01517, allocations: 12.75 kB / 0.6255 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.513e-05/0.01522, allocations: 24.34 kB / 0.6255 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005992/0.01582, allocations: 373.3 kB / 0.6258 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.01583, allocations: 192 / 0.6258 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/0.01586, allocations: 8.375 kB / 0.6259 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.955e-05/0.0159, allocations: 20.31 kB / 0.6259 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003358/0.01623, allocations: 204.9 kB / 0.6261 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.01773, allocations: 0.985 MB / 0.627 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.01797, allocations: 94.55 kB / 0.6271 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.905e-05/0.01804, allocations: 28.84 kB / 0.6271 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.01805, allocations: 4 kB / 0.6272 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.01808, allocations: 38.5 kB / 0.6272 GB, free: 11.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.123e-06/0.01808, allocations: 0 / 0.6272 GB, free: 11.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004694/0.01855, allocations: 142.4 kB / 0.6273 GB, free: 11.42 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.0186, allocations: 55.41 kB / 0.6274 GB, free: 11.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.01881, allocations: 182.9 kB / 0.6276 GB, free: 11.17 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.01884, allocations: 29.7 kB / 0.6276 GB, free: 11.13 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.01898, allocations: 176.1 kB / 0.6277 GB, free: 10.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.01901, allocations: 19.8 kB / 0.6278 GB, free: 10.94 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.497e-05/0.01908, allocations: 45.66 kB / 0.6278 GB, free: 10.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.01923, allocations: 322.8 kB / 0.6281 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.419e-05/0.0193, allocations: 35.98 kB / 0.6282 GB, free: 10.53 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.01945, allocations: 107 kB / 0.6283 GB, free: 10.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.01965, allocations: 148.4 kB / 0.6284 GB, free: 10.22 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01965, allocations: 0 / 0.6284 GB, free: 10.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003321/0.01999, allocations: 194.1 kB / 0.6286 GB, free: 10.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.02, allocations: 4 kB / 0.6286 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.02001, allocations: 4 kB / 0.6286 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001851/0.0202, allocations: 29.12 kB / 0.6286 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.02031, allocations: 23.94 kB / 0.6286 GB, free: 9.957 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.02151, allocations: 1.291 MB / 0.6299 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.02163, allocations: 19.92 kB / 0.6299 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.02164, allocations: 4.062 kB / 0.6299 GB, free: 8.535 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001559/0.0218, allocations: 151.9 kB / 0.6301 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.02184, allocations: 23.91 kB / 0.6301 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.717e-05/0.02188, allocations: 17.45 kB / 0.6301 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.02188, allocations: 3.938 kB / 0.6301 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.02189, allocations: 0 / 0.6301 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.02189, allocations: 0 / 0.6301 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005088/0.0224, allocations: 374.9 kB / 0.6305 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.0224, allocations: 3.984 kB / 0.6305 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.726e-05/0.02244, allocations: 4 kB / 0.6305 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-05/0.02253, allocations: 32.78 kB / 0.6305 GB, free: 7.887 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.02253, allocations: 0 / 0.6305 GB, free: 7.887 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/0.02368, allocations: 1.276 MB / 0.6318 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.02368, allocations: 0 / 0.6318 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.02399, allocations: 212.2 kB / 0.632 GB, free: 6.281 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.02404, allocations: 19.91 kB / 0.632 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.02406, allocations: 4.156 kB / 0.632 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.02417, allocations: 11.92 kB / 0.632 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.02419, allocations: 4 kB / 0.632 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.0242, allocations: 0 / 0.632 GB, free: 6.242 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001296/0.02433, allocations: 139.2 kB / 0.6321 GB, free: 6.105 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.02433, allocations: 0 / 0.6321 GB, free: 6.105 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003469/0.02468, allocations: 55.98 kB / 0.6322 GB, free: 6.051 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001327/0.02481, allocations: 99.19 kB / 0.6323 GB, free: 5.941 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003783/0.02519, allocations: 206.5 kB / 0.6325 GB, free: 5.727 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.02519, allocations: 0 / 0.6325 GB, free: 5.727 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.02536, allocations: 138.6 kB / 0.6326 GB, free: 5.578 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.02572, allocations: 39.33 kB / 0.6326 GB, free: 5.543 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006796/0.0264, allocations: 350.7 kB / 0.633 GB, free: 5.176 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.02656, allocations: 135.9 kB / 0.6331 GB, free: 5.023 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.335e-05/0.02665, allocations: 21.48 kB / 0.6331 GB, free: 5.004 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.02668, allocations: 16.5 kB / 0.6331 GB, free: 4.988 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.02668, allocations: 0 / 0.6331 GB, free: 4.988 MB / 0.545 GB Notification: Performance of Templates: time 0.005394/0.03208, allocations: 1.645 MB / 0.6347 GB, free: 3.398 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.909408610314131] Failed to read output from testmodel.py, exit status != 0: 0.04089443013072014 0.056251568 0.039880201000000004 Calling exit ...