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.0026/0.0026, allocations: 93.47 kB / 19.44 MB, free: 336 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.003082/0.003082, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.625/1.625, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.352/1.352, allocations: 154.6 MB / 414.2 MB, free: 0.6406 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.703e-06/1.703e-06, allocations: 0 / 0.5196 GB, free: 2.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.658e-05, allocations: 4.422 kB / 0.5196 GB, free: 2.586 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.007433/0.00746, allocations: 4.403 MB / 0.5239 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00381/0.01127, allocations: 1.892 MB / 0.5258 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002125/0.01148, allocations: 21.16 kB / 0.5258 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.01333, allocations: 0.5973 MB / 0.5264 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000662/0.01399, allocations: 278.2 kB / 0.5266 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007051/0.0147, allocations: 256.7 kB / 0.5269 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008317/0.01553, allocations: 0.6266 MB / 0.5275 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006507/0.01618, allocations: 355 kB / 0.5278 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004828/0.01666, allocations: 347.2 kB / 0.5281 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005447/0.01721, allocations: 248.3 kB / 0.5284 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.504e-05/0.01729, allocations: 36 kB / 0.5284 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004729/0.01776, allocations: 240.5 kB / 0.5286 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002033/0.01797, allocations: 167.5 kB / 0.5288 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.01819, allocations: 155.7 kB / 0.529 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008986/0.01909, allocations: 0.6199 MB / 0.5296 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.0191, allocations: 0 / 0.5296 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.142e-06/0.0191, allocations: 0.5 kB / 0.5296 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.0191, allocations: 4.938 kB / 0.5296 GB, free: 8.387 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.001447/0.02055, allocations: 0.7951 MB / 0.5303 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.02059, allocations: 8.031 kB / 0.5304 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.02172, allocations: 214 kB / 0.5306 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005707/0.02229, allocations: 285 kB / 0.5308 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/0.02233, allocations: 29.34 kB / 0.5309 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.663e-05/0.02241, allocations: 38.81 kB / 0.5309 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008574/0.02327, allocations: 0.558 MB / 0.5314 GB, free: 6.336 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.02329, allocations: 4.125 kB / 0.5314 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.546e-05/0.02333, allocations: 16.38 kB / 0.5315 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-05/0.02339, allocations: 36.56 kB / 0.5315 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004394/0.02383, allocations: 190.4 kB / 0.5317 GB, free: 6.094 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003049/0.02688, allocations: 2.137 MB / 0.5338 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005236/0.0274, allocations: 181.1 kB / 0.5339 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.02754, allocations: 62.56 kB / 0.534 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.02756, allocations: 4 kB / 0.534 GB, free: 3.625 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/0.02761, allocations: 49.33 kB / 0.534 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.02761, allocations: 0 / 0.534 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.002191/0.0298, allocations: 0.7246 MB / 0.5347 GB, free: 2.801 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.02985, allocations: 51.41 kB / 0.5348 GB, free: 2.738 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/0.03025, allocations: 357.5 kB / 0.5351 GB, free: 2.379 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.03028, allocations: 33.7 kB / 0.5352 GB, free: 2.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/0.03052, allocations: 298.7 kB / 0.5355 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.14e-05/0.03061, allocations: 87.91 kB / 0.5355 GB, free: 1.957 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.03074, allocations: 71.64 kB / 0.5356 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003346/0.03108, allocations: 0.5243 MB / 0.5361 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.03122, allocations: 60.62 kB / 0.5362 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.03148, allocations: 189.8 kB / 0.5364 GB, free: 1.047 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/0.03188, allocations: 266.4 kB / 0.5366 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.03188, allocations: 0 / 0.5366 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007633/0.03265, allocations: 367.7 kB / 0.537 GB, free: 380 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.03267, allocations: 8 kB / 0.537 GB, free: 372 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.03268, allocations: 0 / 0.537 GB, free: 372 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006644/0.03334, allocations: 141.9 kB / 0.5371 GB, free: 224 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.03363, allocations: 63.89 kB / 0.5372 GB, free: 160 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004828/0.03846, allocations: 5.36 MB / 0.5424 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.03872, allocations: 8.562 kB / 0.5424 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.03875, allocations: 12 kB / 0.5424 GB, free: 10.41 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.000258/0.03901, allocations: 186 kB / 0.5426 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.107e-05/0.03909, allocations: 40.34 kB / 0.5426 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.557e-05/0.03918, allocations: 38.8 kB / 0.5427 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.03918, allocations: 4 kB / 0.5427 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.03919, allocations: 1.75 kB / 0.5427 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.03919, allocations: 0 / 0.5427 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004683/0.03966, allocations: 316.4 kB / 0.543 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.03966, allocations: 0 / 0.543 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.03987, allocations: 41.8 kB / 0.543 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006387/0.0405, allocations: 126.7 kB / 0.5431 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.04052, allocations: 9.719 kB / 0.5432 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004821/0.04535, allocations: 5.357 MB / 0.5484 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.04535, allocations: 1.594 kB / 0.5484 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008424/0.04619, allocations: 463.4 kB / 0.5488 GB, free: 3.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.04635, allocations: 47.78 kB / 0.5489 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.04638, allocations: 4 kB / 0.5489 GB, free: 3.359 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.0466, allocations: 15.27 kB / 0.5489 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.04665, allocations: 19.97 kB / 0.5489 GB, free: 3.328 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.04667, allocations: 4 kB / 0.5489 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002794/0.04695, allocations: 241.1 kB / 0.5491 GB, free: 3.086 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.04695, allocations: 0 / 0.5491 GB, free: 3.086 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005057/0.04746, allocations: 99.94 kB / 0.5492 GB, free: 2.988 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.0001522/0.04761, allocations: 105.3 kB / 0.5493 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.04865, allocations: 0.707 MB / 0.55 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.04865, allocations: 0 / 0.55 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006816/0.04933, allocations: 0.5972 MB / 0.5506 GB, free: 1.469 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005116/0.04985, allocations: 68 kB / 0.5507 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.05113, allocations: 0.653 MB / 0.5513 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.0514, allocations: 219.9 kB / 0.5515 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001789/0.05158, allocations: 49.34 kB / 0.5516 GB, free: 480 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.05165, allocations: 22.03 kB / 0.5516 GB, free: 460 kB / 0.5105 GB Notification: Performance of SimCode: time 9.82e-07/0.05165, allocations: 4 kB / 0.5516 GB, free: 456 kB / 0.5105 GB Notification: Performance of Templates: time 0.0105/0.06214, allocations: 4.399 MB / 0.5559 GB, free: 12.22 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=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.227550016017631]