Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.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.0007175/0.0007175, allocations: 80.48 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.0007052/0.0007052, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8192/0.8192, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.6708/0.6708, allocations: 154.6 MB / 414.5 MB, free: 0.832 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.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel") translateModel(IDEAS.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 0.6193 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.413e-05/1.514e-05, allocations: 5.344 kB / 0.6193 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.003383/0.003398, allocations: 4.2 MB / 0.6234 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0016/0.004998, allocations: 1.815 MB / 0.6251 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.005109, allocations: 11.94 kB / 0.6251 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007437/0.005853, allocations: 0.6064 MB / 0.6257 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002996/0.006152, allocations: 266.3 kB / 0.626 GB, free: 6.332 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004985/0.006651, allocations: 263.2 kB / 0.6262 GB, free: 6.074 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003847/0.007036, allocations: 0.6227 MB / 0.6268 GB, free: 5.449 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003663/0.007402, allocations: 343.1 kB / 0.6272 GB, free: 5.113 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.007623, allocations: 359.1 kB / 0.6275 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.007903, allocations: 235.4 kB / 0.6277 GB, free: 4.531 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.007939, allocations: 36 kB / 0.6278 GB, free: 4.496 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.008142, allocations: 239.3 kB / 0.628 GB, free: 4.262 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.466e-05/0.008236, allocations: 167.5 kB / 0.6282 GB, free: 4.098 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.684e-05/0.008333, allocations: 151.7 kB / 0.6283 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004333/0.008766, allocations: 0.6308 MB / 0.6289 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.008768, allocations: 0 / 0.6289 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.42e-07/0.008769, allocations: 3.938 kB / 0.6289 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.008773, allocations: 0 / 0.6289 GB, free: 3.312 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0006542/0.009427, allocations: 0.6531 MB / 0.6296 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.009456, allocations: 13.47 kB / 0.6296 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004577/0.009913, allocations: 148.5 kB / 0.6297 GB, free: 2.473 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.01019, allocations: 284.5 kB / 0.63 GB, free: 2.172 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.0102, allocations: 25.38 kB / 0.63 GB, free: 2.148 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.01025, allocations: 36.36 kB / 0.63 GB, free: 2.113 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005004/0.01075, allocations: 0.6826 MB / 0.6307 GB, free: 1.359 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.01076, allocations: 192 / 0.6307 GB, free: 1.359 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.01079, allocations: 16.31 kB / 0.6307 GB, free: 1.344 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.01082, allocations: 36.58 kB / 0.6308 GB, free: 1.309 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.01118, allocations: 390.3 kB / 0.6311 GB, free: 0.9297 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.01239, allocations: 1.664 MB / 0.6328 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.01269, allocations: 237.3 kB / 0.633 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.01301, allocations: 92.81 kB / 0.6331 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.846e-06/0.01302, allocations: 4 kB / 0.6331 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.01304, allocations: 38.56 kB / 0.6331 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.032e-06/0.01304, allocations: 0 / 0.6331 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.001147/0.01419, allocations: 0.9061 MB / 0.634 GB, free: 13.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.01421, allocations: 59.33 kB / 0.6341 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.01438, allocations: 273.8 kB / 0.6343 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.01439, allocations: 33.7 kB / 0.6344 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.777e-05/0.01448, allocations: 236 kB / 0.6346 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.01452, allocations: 83.28 kB / 0.6347 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.01458, allocations: 61.98 kB / 0.6347 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.431e-05/0.01465, allocations: 346.7 kB / 0.635 GB, free: 12.74 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.01476, allocations: 104.6 kB / 0.6351 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.01489, allocations: 188.7 kB / 0.6353 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.01514, allocations: 321.8 kB / 0.6356 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.01514, allocations: 0 / 0.6356 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000411/0.01556, allocations: 445.8 kB / 0.6361 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.01557, allocations: 4 kB / 0.6361 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01557, allocations: 4.344 kB / 0.6361 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001867/0.01576, allocations: 98.5 kB / 0.6362 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.0159, allocations: 63.91 kB / 0.6362 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/0.01781, allocations: 3.996 MB / 0.6401 GB, free: 7.137 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.256e-05/0.0179, allocations: 8 kB / 0.6401 GB, free: 7.129 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.01791, allocations: 20.28 kB / 0.6402 GB, free: 7.109 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.01803, allocations: 181.6 kB / 0.6403 GB, free: 6.922 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.01806, allocations: 31.81 kB / 0.6404 GB, free: 6.891 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.01809, allocations: 38.27 kB / 0.6404 GB, free: 6.855 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.01809, allocations: 0 / 0.6404 GB, free: 6.855 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.01809, allocations: 4 kB / 0.6404 GB, free: 6.852 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.0181, allocations: 4.078 kB / 0.6404 GB, free: 6.848 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.0183, allocations: 281.1 kB / 0.6407 GB, free: 6.543 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.01831, allocations: 7.984 kB / 0.6407 GB, free: 6.535 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.725e-05/0.01839, allocations: 39.92 kB / 0.6407 GB, free: 6.496 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001472/0.01854, allocations: 94.48 kB / 0.6408 GB, free: 6.395 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.01855, allocations: 4 kB / 0.6408 GB, free: 6.391 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/0.0201, allocations: 4.001 MB / 0.6447 GB, free: 2.078 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.0201, allocations: 3.938 kB / 0.6447 GB, free: 2.074 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004445/0.02055, allocations: 0.5405 MB / 0.6452 GB, free: 1.508 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.339e-05/0.02061, allocations: 47.81 kB / 0.6453 GB, free: 1.461 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.02063, allocations: 8 kB / 0.6453 GB, free: 1.453 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.103e-05/0.02072, allocations: 12 kB / 0.6453 GB, free: 1.441 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.02075, allocations: 23.95 kB / 0.6453 GB, free: 1.418 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.02076, allocations: 8.156 kB / 0.6453 GB, free: 1.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001054/0.02086, allocations: 189.2 kB / 0.6455 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.02086, allocations: 3.938 kB / 0.6455 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002546/0.02112, allocations: 103.9 kB / 0.6456 GB, free: 1.121 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.174e-05/0.02119, allocations: 95.19 kB / 0.6457 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004565/0.02164, allocations: 0.5966 MB / 0.6463 GB, free: 396 kB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.02165, allocations: 4 kB / 0.6463 GB, free: 392 kB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002349/0.02188, allocations: 464.3 kB / 0.6467 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004842/0.02237, allocations: 63.14 kB / 0.6468 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006842/0.02305, allocations: 0.7232 MB / 0.6475 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.02318, allocations: 228 kB / 0.6477 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.02323, allocations: 24.5 kB / 0.6478 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of SimCode: time 6.22e-07/0.02323, allocations: 0 / 0.6478 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of Templates: time 0.006019/0.02925, allocations: 8.689 MB / 0.6562 GB, free: 6.137 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.891079675406218] Failed to read output from testmodel.py, exit status != 0: 0.033846898935735226 0.041192922 0.03094169 Calling exit ...