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.00147/0.00147, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001808/0.001808, allocations: 212.7 kB / 22.24 MB, free: 4.863 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.824 MB / 206.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.274/1.274, allocations: 203.8 MB / 0.5041 GB, free: 4.633 MB / 414.1 MB " [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.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 65.62 kB / 0.7186 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6054/0.6075, allocations: 102 MB / 0.8182 GB, free: 28.92 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.00651/0.6141, allocations: 4.262 MB / 0.8224 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003336/0.6174, allocations: 1.828 MB / 0.8242 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003108/0.6177, allocations: 12.75 kB / 0.8242 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.6195, allocations: 0.595 MB / 0.8248 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0007746/0.6202, allocations: 271.2 kB / 0.825 GB, free: 24.53 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008246/0.6211, allocations: 253.3 kB / 0.8253 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000919/0.622, allocations: 0.6109 MB / 0.8259 GB, free: 24.13 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000597/0.6226, allocations: 347.6 kB / 0.8262 GB, free: 23.97 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003138/0.6229, allocations: 254.8 kB / 0.8265 GB, free: 23.87 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005103/0.6234, allocations: 262.3 kB / 0.8267 GB, free: 23.77 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.908e-05/0.6235, allocations: 39.31 kB / 0.8267 GB, free: 23.77 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005314/0.624, allocations: 230.1 kB / 0.827 GB, free: 23.7 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.6242, allocations: 149.5 kB / 0.8271 GB, free: 23.64 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.6244, allocations: 190.7 kB / 0.8273 GB, free: 23.54 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0007794/0.6252, allocations: 0.6114 MB / 0.8279 GB, free: 23.33 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6252, allocations: 5.219 kB / 0.8279 GB, free: 23.33 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6252, allocations: 0 / 0.8279 GB, free: 23.33 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.6252, allocations: 1.828 kB / 0.8279 GB, free: 23.33 MB / 0.6387 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.001306/0.6265, allocations: 0.6582 MB / 0.8285 GB, free: 22.85 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.6265, allocations: 10.44 kB / 0.8285 GB, free: 22.85 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.6276, allocations: 148.4 kB / 0.8287 GB, free: 22.82 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005681/0.6282, allocations: 286.9 kB / 0.829 GB, free: 22.61 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.6282, allocations: 23.12 kB / 0.829 GB, free: 22.6 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-05/0.6283, allocations: 42.3 kB / 0.829 GB, free: 22.58 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009344/0.6292, allocations: 0.6886 MB / 0.8297 GB, free: 22.12 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.6292, allocations: 1.375 kB / 0.8297 GB, free: 22.12 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.671e-05/0.6293, allocations: 12.12 kB / 0.8297 GB, free: 22.11 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.816e-05/0.6293, allocations: 32.77 kB / 0.8297 GB, free: 22.11 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006608/0.63, allocations: 389.8 kB / 0.8301 GB, free: 21.97 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.6322, allocations: 1.671 MB / 0.8317 GB, free: 20.71 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005001/0.6327, allocations: 241.1 kB / 0.832 GB, free: 20.61 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.6328, allocations: 105.5 kB / 0.8321 GB, free: 20.56 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.6328, allocations: 2.906 kB / 0.8321 GB, free: 20.56 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.6329, allocations: 37.86 kB / 0.8321 GB, free: 20.52 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=20): time 1.723e-06/0.6329, allocations: 0 / 0.8321 GB, free: 20.52 MB / 0.6387 GB Notification: Performance of matching and sorting (n=23): time 0.002104/0.635, allocations: 0.9055 MB / 0.833 GB, free: 20.04 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.635, allocations: 54.56 kB / 0.833 GB, free: 19.98 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.6353, allocations: 272.2 kB / 0.8333 GB, free: 19.82 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.6353, allocations: 31.02 kB / 0.8333 GB, free: 19.79 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.6354, allocations: 241.1 kB / 0.8336 GB, free: 19.59 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.315e-05/0.6355, allocations: 85.44 kB / 0.8336 GB, free: 19.52 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.6356, allocations: 62.25 kB / 0.8337 GB, free: 19.48 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.765e-05/0.6357, allocations: 340.7 kB / 0.834 GB, free: 19.15 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.6359, allocations: 105.2 kB / 0.8341 GB, free: 19.11 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.6361, allocations: 193.6 kB / 0.8343 GB, free: 18.97 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/0.6365, allocations: 317.9 kB / 0.8346 GB, free: 18.77 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6365, allocations: 1.188 kB / 0.8346 GB, free: 18.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007685/0.6373, allocations: 436 kB / 0.835 GB, free: 18.57 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.6373, allocations: 6.656 kB / 0.835 GB, free: 18.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.6373, allocations: 4.031 kB / 0.835 GB, free: 18.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003762/0.6377, allocations: 99.03 kB / 0.8351 GB, free: 18.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.638, allocations: 65.11 kB / 0.8352 GB, free: 18.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/0.6403, allocations: 4.012 MB / 0.8391 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.6406, allocations: 9.125 kB / 0.8391 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.6406, allocations: 18.28 kB / 0.8391 GB, free: 14.66 MB / 0.6387 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.0002047/0.6408, allocations: 177.1 kB / 0.8393 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.131e-05/0.6408, allocations: 29.31 kB / 0.8393 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.518e-05/0.6409, allocations: 40.33 kB / 0.8394 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.6409, allocations: 3.609 kB / 0.8394 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.6409, allocations: 5.094 kB / 0.8394 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.6409, allocations: 1.219 kB / 0.8394 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.6413, allocations: 281.3 kB / 0.8397 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6413, allocations: 11.92 kB / 0.8397 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.6415, allocations: 36.58 kB / 0.8397 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003159/0.6418, allocations: 88.39 kB / 0.8398 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.6418, allocations: 6.078 kB / 0.8398 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00226/0.6441, allocations: 4.012 MB / 0.8437 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6441, allocations: 0 / 0.8437 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007929/0.6449, allocations: 0.5413 MB / 0.8442 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.645, allocations: 46.81 kB / 0.8443 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.645, allocations: 5.312 kB / 0.8443 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.6452, allocations: 12.83 kB / 0.8443 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.6453, allocations: 26.89 kB / 0.8443 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.6453, allocations: 9.188 kB / 0.8443 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001793/0.6455, allocations: 188.5 kB / 0.8445 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.6455, allocations: 0 / 0.8445 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000539/0.646, allocations: 95.59 kB / 0.8446 GB, free: 9.918 MB / 0.6387 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 0.0001027/0.6461, allocations: 99.16 kB / 0.8447 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007962/0.6469, allocations: 0.5975 MB / 0.8453 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6469, allocations: 1.188 kB / 0.8453 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004036/0.6473, allocations: 466 kB / 0.8457 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.6478, allocations: 67.23 kB / 0.8458 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.649, allocations: 0.7059 MB / 0.8465 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.6492, allocations: 229.2 kB / 0.8467 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001881/0.6494, allocations: 60.25 kB / 0.8468 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.6495, allocations: 29.47 kB / 0.8468 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of SimCode: time 4.51e-07/0.6495, allocations: 5.594 kB / 0.8468 GB, free: 8.438 MB / 0.6387 GB Notification: Performance of Templates: time 0.01096/0.6604, allocations: 4.764 MB / 0.8514 GB, free: 7.93 MB / 0.6387 GB " [Timeout remaining time 659] 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: 6.876013783738017] Failed to read output from testmodel.py, exit status != 0: 0.6692641973495483 0.682585887 0.054430281000000004 Calling exit ...