Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001441/0.001441, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 13.93 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.001663/0.001663, allocations: 165.3 kB / 22.76 MB, free: 1.648 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.566/1.566, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.323/1.323, allocations: 154.6 MB / 414.1 MB, free: 0.6172 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Electrical.DC.Lines.Examples.RCModel") translateModel(IDEAS.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.5196 GB, free: 2.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.161e-05, allocations: 4.828 kB / 0.5196 GB, free: 2.586 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.007752/0.007784, allocations: 4.204 MB / 0.5237 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003569/0.01135, allocations: 1.821 MB / 0.5255 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002166/0.01157, allocations: 11.94 kB / 0.5255 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001866/0.01344, allocations: 0.5986 MB / 0.5261 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006943/0.01413, allocations: 272.4 kB / 0.5263 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006906/0.01482, allocations: 256.9 kB / 0.5266 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008006/0.01562, allocations: 0.6304 MB / 0.5272 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006554/0.01628, allocations: 345.4 kB / 0.5275 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004658/0.01674, allocations: 355.1 kB / 0.5279 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004988/0.01724, allocations: 239.3 kB / 0.5281 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.943e-05/0.01731, allocations: 36 kB / 0.5281 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004383/0.01775, allocations: 235.9 kB / 0.5284 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.01794, allocations: 167.5 kB / 0.5285 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.01815, allocations: 157.1 kB / 0.5287 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008566/0.01901, allocations: 0.623 MB / 0.5293 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.01901, allocations: 0 / 0.5293 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.452e-06/0.01901, allocations: 0 / 0.5293 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.01902, allocations: 0.9375 kB / 0.5293 GB, free: 8.684 MB / 0.4948 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.0014/0.02042, allocations: 0.6552 MB / 0.5299 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.02046, allocations: 9.25 kB / 0.5299 GB, free: 7.988 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.02159, allocations: 221.6 kB / 0.5301 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005354/0.02212, allocations: 288.2 kB / 0.5304 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.02216, allocations: 29.38 kB / 0.5304 GB, free: 7.441 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.998e-05/0.02224, allocations: 32.38 kB / 0.5305 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.02355, allocations: 0.6826 MB / 0.5311 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.02356, allocations: 192 / 0.5311 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/0.02361, allocations: 20.36 kB / 0.5312 GB, free: 6.641 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-05/0.02368, allocations: 43.5 kB / 0.5312 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006744/0.02436, allocations: 382.3 kB / 0.5316 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002618/0.02697, allocations: 1.666 MB / 0.5332 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005731/0.02755, allocations: 241.1 kB / 0.5334 GB, free: 4.254 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.02776, allocations: 107 kB / 0.5335 GB, free: 4.148 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.02777, allocations: 4 kB / 0.5335 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.02781, allocations: 34.56 kB / 0.5336 GB, free: 4.102 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=20): time 1.363e-06/0.02781, allocations: 7.938 kB / 0.5336 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.002396/0.03021, allocations: 0.909 MB / 0.5344 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.03025, allocations: 51.41 kB / 0.5345 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.0306, allocations: 277.7 kB / 0.5348 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.03064, allocations: 33.7 kB / 0.5348 GB, free: 2.777 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.03084, allocations: 232.7 kB / 0.535 GB, free: 2.547 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.038e-05/0.03093, allocations: 91.27 kB / 0.5351 GB, free: 2.457 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.03104, allocations: 58.69 kB / 0.5352 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.03124, allocations: 343.3 kB / 0.5355 GB, free: 2.047 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.03143, allocations: 104.6 kB / 0.5356 GB, free: 1.945 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.03171, allocations: 185.3 kB / 0.5358 GB, free: 1.727 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00049/0.0322, allocations: 316 kB / 0.5361 GB, free: 1.387 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.03221, allocations: 0 / 0.5361 GB, free: 1.387 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009025/0.03311, allocations: 460.2 kB / 0.5365 GB, free: 0.9297 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.03312, allocations: 4 kB / 0.5365 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.03313, allocations: 4 kB / 0.5365 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006799/0.03381, allocations: 132.9 kB / 0.5366 GB, free: 0.7891 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.03412, allocations: 59.91 kB / 0.5367 GB, free: 0.7305 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004387/0.0385, allocations: 4.008 MB / 0.5406 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.03872, allocations: 16 kB / 0.5406 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.03875, allocations: 8 kB / 0.5406 GB, free: 12.39 MB / 0.5105 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.0002353/0.03898, allocations: 190.9 kB / 0.5408 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.701e-05/0.03906, allocations: 35.8 kB / 0.5408 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.78e-05/0.03914, allocations: 38.83 kB / 0.5409 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.03914, allocations: 5.344 kB / 0.5409 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.03915, allocations: 0 / 0.5409 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.03915, allocations: 0 / 0.5409 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004389/0.03959, allocations: 285.1 kB / 0.5412 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.03959, allocations: 0.6875 kB / 0.5412 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.03981, allocations: 40.53 kB / 0.5412 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005953/0.0404, allocations: 124.5 kB / 0.5413 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.04042, allocations: 4 kB / 0.5413 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0042/0.04462, allocations: 4.014 MB / 0.5452 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.04462, allocations: 0 / 0.5452 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009667/0.04559, allocations: 0.5536 MB / 0.5458 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.04571, allocations: 47.81 kB / 0.5458 GB, free: 6.707 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.04574, allocations: 8 kB / 0.5458 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.04596, allocations: 12.92 kB / 0.5459 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.04601, allocations: 19.97 kB / 0.5459 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.04602, allocations: 4.531 kB / 0.5459 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002216/0.04624, allocations: 190.1 kB / 0.5461 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.1e-08/0.04624, allocations: 0 / 0.5461 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004815/0.04673, allocations: 99.94 kB / 0.5462 GB, free: 6.379 MB / 0.5105 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.0001426/0.04687, allocations: 101.3 kB / 0.5462 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009866/0.04785, allocations: 0.604 MB / 0.5468 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.04786, allocations: 2.688 kB / 0.5468 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006247/0.04848, allocations: 459.7 kB / 0.5473 GB, free: 5.148 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.04896, allocations: 62.58 kB / 0.5473 GB, free: 5.094 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.05024, allocations: 0.6929 MB / 0.548 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.05052, allocations: 227.5 kB / 0.5482 GB, free: 4.148 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001784/0.0507, allocations: 57.72 kB / 0.5483 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.928e-05/0.05076, allocations: 20.5 kB / 0.5483 GB, free: 4.082 MB / 0.5105 GB Notification: Performance of SimCode: time 4.1e-07/0.05077, allocations: 0.9375 kB / 0.5483 GB, free: 4.082 MB / 0.5105 GB Notification: Performance of Templates: time 0.01003/0.06079, allocations: 4.373 MB / 0.5526 GB, free: 15.89 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.sim & ./IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.194333124905825]