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.0009549/0.0009549, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001027/0.001027, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.068/1.068, allocations: 177.1 MB / 203.8 MB, free: 5.48 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-535:34: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-535:42: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.8087/0.8087, allocations: 154.9 MB / 415.1 MB, free: 236 kB / 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.283e-06/1.283e-06, allocations: 4.484 kB / 480.4 MB, free: 6.496 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.488e-05/1.616e-05, allocations: 2.312 kB / 480.4 MB, free: 6.492 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.003568/0.003585, allocations: 3.327 MB / 483.7 MB, free: 3.215 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.005388, allocations: 1.268 MB / 485 MB, free: 1.945 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.005553, allocations: 12.47 kB / 485 MB, free: 1.934 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004695/0.006022, allocations: 127.8 kB / 485.1 MB, free: 1.809 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003931/0.006415, allocations: 246.9 kB / 485.4 MB, free: 1.57 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.006781, allocations: 200.8 kB / 485.6 MB, free: 1.375 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005224/0.007303, allocations: 0.6383 MB / 486.2 MB, free: 0.7344 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003479/0.007651, allocations: 350.3 kB / 486.5 MB, free: 400 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003024/0.007954, allocations: 348.1 kB / 486.9 MB, free: 52 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003961/0.00835, allocations: 235.4 kB / 487.1 MB, free: 15.82 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.805e-05/0.008398, allocations: 36.88 kB / 487.1 MB, free: 15.79 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.008603, allocations: 107.7 kB / 487.2 MB, free: 15.68 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.00873, allocations: 168.4 kB / 487.4 MB, free: 15.52 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.008856, allocations: 159.6 kB / 487.6 MB, free: 15.36 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004007/0.009257, allocations: 399.3 kB / 488 MB, free: 14.97 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.009259, allocations: 3.938 kB / 488 MB, free: 14.96 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.00926, allocations: 0.625 kB / 488 MB, free: 14.96 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.009265, allocations: 0 / 488 MB, free: 14.96 MB / 458.7 MB 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.0006876/0.009953, allocations: 0.6152 MB / 488.6 MB, free: 14.33 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.009986, allocations: 12.03 kB / 488.6 MB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006234/0.01061, allocations: 198.3 kB / 488.8 MB, free: 14.13 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.01093, allocations: 254.9 kB / 489 MB, free: 13.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.01096, allocations: 22.78 kB / 489.1 MB, free: 13.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.41e-05/0.011, allocations: 45.17 kB / 489.1 MB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000418/0.01142, allocations: 497.8 kB / 489.6 MB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.01143, allocations: 1.344 kB / 489.6 MB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.01146, allocations: 16.38 kB / 489.6 MB, free: 13.22 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.81e-05/0.01149, allocations: 32.58 kB / 489.6 MB, free: 13.19 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.01164, allocations: 119.4 kB / 489.7 MB, free: 13.08 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.01294, allocations: 1.423 MB / 491.2 MB, free: 11.61 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.0132, allocations: 172.9 kB / 491.3 MB, free: 11.43 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.439e-05/0.01325, allocations: 36.84 kB / 491.4 MB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.01327, allocations: 5.219 kB / 491.4 MB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.0133, allocations: 38.56 kB / 491.4 MB, free: 11.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=20): time 1.993e-06/0.0133, allocations: 0 / 491.4 MB, free: 11.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=20): time 0.000525/0.01383, allocations: 264 kB / 491.7 MB, free: 11.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.01385, allocations: 60.28 kB / 491.7 MB, free: 11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.01414, allocations: 252.9 kB / 492 MB, free: 10.75 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.01416, allocations: 30.95 kB / 492 MB, free: 10.71 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.285e-05/0.01425, allocations: 231.2 kB / 492.2 MB, free: 10.49 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.01429, allocations: 67.41 kB / 492.3 MB, free: 10.42 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/0.01436, allocations: 58.23 kB / 492.4 MB, free: 10.36 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.948e-05/0.01445, allocations: 338.8 kB / 492.7 MB, free: 10.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.642e-05/0.01448, allocations: 28.83 kB / 492.7 MB, free: 9.992 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.312e-05/0.01457, allocations: 120.6 kB / 492.8 MB, free: 9.84 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.01472, allocations: 168.6 kB / 493 MB, free: 9.645 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01473, allocations: 0 / 493 MB, free: 9.645 MB / 458.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002492/0.01497, allocations: 222.8 kB / 493.2 MB, free: 9.418 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.01499, allocations: 4 kB / 493.2 MB, free: 9.414 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.015, allocations: 4 kB / 493.2 MB, free: 9.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002161/0.01521, allocations: 73.42 kB / 493.3 MB, free: 9.336 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.01537, allocations: 72.47 kB / 493.4 MB, free: 9.266 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.0168, allocations: 2.415 MB / 495.8 MB, free: 6.668 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.01691, allocations: 31.78 kB / 495.8 MB, free: 6.637 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.01692, allocations: 12 kB / 495.8 MB, free: 6.625 MB / 458.7 MB 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 (33): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.894e-05/0.01701, allocations: 134 kB / 496 MB, free: 6.484 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.01704, allocations: 19.98 kB / 496 MB, free: 6.465 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.01707, allocations: 34.86 kB / 496 MB, free: 6.43 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01708, allocations: 7.938 kB / 496 MB, free: 6.422 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01708, allocations: 1.438 kB / 496 MB, free: 6.422 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.01708, allocations: 0 / 496 MB, free: 6.422 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.01726, allocations: 173.6 kB / 496.2 MB, free: 6.234 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.01726, allocations: 4 kB / 496.2 MB, free: 6.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.01737, allocations: 36.88 kB / 496.2 MB, free: 6.195 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001655/0.01754, allocations: 81.12 kB / 496.3 MB, free: 6.117 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.01755, allocations: 4 kB / 496.3 MB, free: 6.113 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009938/0.01854, allocations: 2.408 MB / 498.7 MB, free: 3.516 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01854, allocations: 0 / 498.7 MB, free: 3.516 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.01879, allocations: 277.8 kB / 499 MB, free: 3.223 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.01884, allocations: 40.36 kB / 499 MB, free: 3.184 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.01886, allocations: 13.72 kB / 499 MB, free: 3.172 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.551e-05/0.01895, allocations: 21.55 kB / 499.1 MB, free: 3.152 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/0.01897, allocations: 15.97 kB / 499.1 MB, free: 3.137 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.01898, allocations: 4 kB / 499.1 MB, free: 3.133 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.139e-05/0.01904, allocations: 86.77 kB / 499.2 MB, free: 3.043 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01904, allocations: 1.688 kB / 499.2 MB, free: 3.043 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002432/0.01928, allocations: 111.7 kB / 499.3 MB, free: 2.934 MB / 458.7 MB 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 (17): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,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 8.015e-05/0.01936, allocations: 80.97 kB / 499.4 MB, free: 2.844 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003121/0.01968, allocations: 361.5 kB / 499.7 MB, free: 2.465 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.01968, allocations: 7.25 kB / 499.7 MB, free: 2.461 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.01983, allocations: 295.3 kB / 0.4883 GB, free: 2.145 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.02007, allocations: 78.69 kB / 0.4884 GB, free: 2.074 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008548/0.02093, allocations: 0.6366 MB / 0.489 GB, free: 1.434 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.53e-05/0.021, allocations: 127.8 kB / 0.4891 GB, free: 1.293 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.12e-05/0.02109, allocations: 31.5 kB / 0.4891 GB, free: 1.27 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.02123, allocations: 115.3 kB / 0.4892 GB, free: 1.156 MB / 458.7 MB Notification: Performance of SimCode: time 9.82e-07/0.02123, allocations: 2.625 kB / 0.4893 GB, free: 1.156 MB / 458.7 MB Notification: Performance of Templates: time 0.005848/0.02708, allocations: 4.071 MB / 0.4932 GB, free: 13.36 MB / 474.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.741231383290142]