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.001573/0.001573, allocations: 84.28 kB / 19.18 MB, free: 2.523 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.001982/0.001982, allocations: 170.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.714/1.714, 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.195/1.195, allocations: 154.6 MB / 413.7 MB, free: 5.305 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.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.473e-06/1.473e-06, allocations: 0 / 0.6185 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.495e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.006576/0.006601, allocations: 4.213 MB / 0.6226 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00328/0.009881, allocations: 1.819 MB / 0.6244 GB, free: 14.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.01007, allocations: 15.88 kB / 0.6244 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001772/0.01184, allocations: 0.5944 MB / 0.625 GB, free: 14.06 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000615/0.01246, allocations: 278.2 kB / 0.6252 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000649/0.01311, allocations: 259.2 kB / 0.6255 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007317/0.01384, allocations: 0.6304 MB / 0.6261 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006415/0.01448, allocations: 335.2 kB / 0.6264 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004363/0.01491, allocations: 359 kB / 0.6268 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004802/0.01539, allocations: 243.3 kB / 0.627 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.992e-05/0.01546, allocations: 36 kB / 0.627 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004577/0.01592, allocations: 231.4 kB / 0.6273 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.01611, allocations: 167.5 kB / 0.6274 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002052/0.01631, allocations: 155.6 kB / 0.6276 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008308/0.01714, allocations: 0.6231 MB / 0.6282 GB, free: 10.78 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.01715, allocations: 8 kB / 0.6282 GB, free: 10.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.132e-06/0.01715, allocations: 0 / 0.6282 GB, free: 10.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.864e-06/0.01716, allocations: 0 / 0.6282 GB, free: 10.77 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001346/0.0185, allocations: 0.6569 MB / 0.6288 GB, free: 10.08 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.01854, allocations: 17.47 kB / 0.6288 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.01956, allocations: 144.5 kB / 0.629 GB, free: 9.926 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004861/0.02004, allocations: 280.5 kB / 0.6292 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.02007, allocations: 21.38 kB / 0.6293 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.178e-05/0.02015, allocations: 40.36 kB / 0.6293 GB, free: 9.566 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009239/0.02107, allocations: 0.6787 MB / 0.63 GB, free: 8.816 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.02108, allocations: 4.125 kB / 0.63 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.747e-05/0.02113, allocations: 16.36 kB / 0.63 GB, free: 8.797 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.255e-05/0.02119, allocations: 36.58 kB / 0.63 GB, free: 8.762 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006271/0.02182, allocations: 386.3 kB / 0.6304 GB, free: 8.387 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002374/0.02419, allocations: 1.66 MB / 0.632 GB, free: 6.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005736/0.02477, allocations: 238.5 kB / 0.6322 GB, free: 6.418 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.02493, allocations: 96.81 kB / 0.6323 GB, free: 6.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.02495, allocations: 11.94 kB / 0.6323 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.02498, allocations: 42.5 kB / 0.6324 GB, free: 6.258 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 1.704e-06/0.02498, allocations: 0 / 0.6324 GB, free: 6.258 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.002309/0.02729, allocations: 0.8873 MB / 0.6332 GB, free: 5.328 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.02734, allocations: 59.39 kB / 0.6333 GB, free: 5.258 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/0.02768, allocations: 269.8 kB / 0.6336 GB, free: 4.988 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.02772, allocations: 37.7 kB / 0.6336 GB, free: 4.945 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.02793, allocations: 240 kB / 0.6338 GB, free: 4.703 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.009e-05/0.02802, allocations: 87.27 kB / 0.6339 GB, free: 4.617 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.02815, allocations: 61.98 kB / 0.634 GB, free: 4.547 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.02834, allocations: 338.8 kB / 0.6343 GB, free: 4.207 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.02852, allocations: 104.6 kB / 0.6344 GB, free: 4.105 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.02879, allocations: 192.7 kB / 0.6346 GB, free: 3.879 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/0.02926, allocations: 321.6 kB / 0.6349 GB, free: 3.531 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.02926, allocations: 0 / 0.6349 GB, free: 3.531 MB / 0.545 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008312/0.03009, allocations: 446 kB / 0.6353 GB, free: 3.082 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.03011, allocations: 7.984 kB / 0.6353 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.03012, allocations: 4 kB / 0.6353 GB, free: 3.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003916/0.03052, allocations: 94.72 kB / 0.6354 GB, free: 2.969 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.0308, allocations: 63.91 kB / 0.6355 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003668/0.03447, allocations: 4.004 MB / 0.6394 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.03472, allocations: 8 kB / 0.6394 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.03475, allocations: 19.94 kB / 0.6394 GB, free: 14.56 MB / 0.5606 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.0002608/0.03501, allocations: 178 kB / 0.6396 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.626e-05/0.03508, allocations: 31.81 kB / 0.6396 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.732e-05/0.03516, allocations: 34.27 kB / 0.6396 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.03516, allocations: 4 kB / 0.6396 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.03517, allocations: 0 / 0.6396 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.03518, allocations: 7.984 kB / 0.6396 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004173/0.03559, allocations: 281.1 kB / 0.6399 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.0356, allocations: 0 / 0.6399 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.03579, allocations: 35.92 kB / 0.64 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003304/0.03612, allocations: 102.4 kB / 0.64 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.03614, allocations: 4 kB / 0.6401 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003342/0.03948, allocations: 4 MB / 0.644 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.03948, allocations: 3.938 kB / 0.644 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008655/0.04035, allocations: 0.5515 MB / 0.6445 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.04047, allocations: 47.81 kB / 0.6445 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.04051, allocations: 4 kB / 0.6446 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.04071, allocations: 12 kB / 0.6446 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/0.04077, allocations: 23.95 kB / 0.6446 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.04079, allocations: 4 kB / 0.6446 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002163/0.041, allocations: 193.1 kB / 0.6448 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.041, allocations: 0 / 0.6448 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005292/0.04153, allocations: 96 kB / 0.6449 GB, free: 8.594 MB / 0.5606 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.0001531/0.04169, allocations: 103.2 kB / 0.645 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009366/0.04262, allocations: 0.5939 MB / 0.6455 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.04263, allocations: 0 / 0.6455 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005404/0.04317, allocations: 455.9 kB / 0.646 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/0.04367, allocations: 81.91 kB / 0.6461 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.0449, allocations: 0.6822 MB / 0.6467 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.04514, allocations: 228 kB / 0.6469 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001684/0.04531, allocations: 50.94 kB / 0.647 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.362e-05/0.04538, allocations: 28.5 kB / 0.647 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.04538, allocations: 0 / 0.647 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of Templates: time 0.009743/0.05512, allocations: 4.326 MB / 0.6512 GB, free: 2.039 MB / 0.5606 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: 6.129072993993759] Failed to read output from testmodel.py, exit status != 0: 0.06460604816675186 0.07968644400000001 0.059347325000000006 Calling exit ...