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.0009411/0.0009411, allocations: 89.06 kB / 19.64 MB, free: 272 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.001538/0.001538, allocations: 173 kB / 23.02 MB, free: 1.535 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 0.9071/0.9071, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7687/0.7687, allocations: 154.6 MB / 414.5 MB, free: 0.6562 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 179] 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 2.174e-06/2.174e-06, allocations: 0 / 0.5203 GB, free: 2.219 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.852e-05/3.07e-05, allocations: 3.297 kB / 0.5203 GB, free: 2.215 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.005285/0.005316, allocations: 3.286 MB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00246/0.007776, allocations: 1.252 MB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002829/0.008059, allocations: 15.88 kB / 0.5248 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006832/0.008742, allocations: 132.2 kB / 0.5249 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000638/0.00938, allocations: 237.7 kB / 0.5251 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005956/0.009976, allocations: 204.7 kB / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008672/0.01084, allocations: 0.646 MB / 0.5259 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000683/0.01153, allocations: 344.6 kB / 0.5263 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008046/0.01233, allocations: 355.2 kB / 0.5266 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003933/0.01272, allocations: 247.3 kB / 0.5268 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.708e-05/0.01277, allocations: 40.92 kB / 0.5269 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.01297, allocations: 99.86 kB / 0.527 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.01308, allocations: 165 kB / 0.5271 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.0132, allocations: 163.6 kB / 0.5273 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000403/0.0136, allocations: 406.5 kB / 0.5277 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.01361, allocations: 0 / 0.5277 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.383e-06/0.01361, allocations: 0.5 kB / 0.5277 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.01361, allocations: 1.031 kB / 0.5277 GB, free: 10.68 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.0007871/0.0144, allocations: 0.7393 MB / 0.5284 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.01444, allocations: 8.531 kB / 0.5284 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005915/0.01503, allocations: 219.6 kB / 0.5286 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.01532, allocations: 281.8 kB / 0.5289 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.01534, allocations: 29.36 kB / 0.5289 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/0.01539, allocations: 36.31 kB / 0.5289 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/0.01583, allocations: 0.5267 MB / 0.5295 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.01584, allocations: 192 / 0.5295 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.01587, allocations: 20.38 kB / 0.5295 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.949e-05/0.01591, allocations: 38.95 kB / 0.5295 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000227/0.01613, allocations: 159.7 kB / 0.5297 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.01747, allocations: 2.046 MB / 0.5317 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.01778, allocations: 191 kB / 0.5319 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.993e-05/0.01785, allocations: 54.92 kB / 0.5319 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.01786, allocations: 4 kB / 0.5319 GB, free: 6.121 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.01788, allocations: 45.39 kB / 0.5319 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.01788, allocations: 0 / 0.5319 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.00116/0.01904, allocations: 0.6784 MB / 0.5326 GB, free: 5.348 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.01907, allocations: 55.41 kB / 0.5327 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.01928, allocations: 313.5 kB / 0.533 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.01929, allocations: 29.7 kB / 0.533 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.01942, allocations: 294.7 kB / 0.5333 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.01946, allocations: 83.94 kB / 0.5334 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.01953, allocations: 63.64 kB / 0.5334 GB, free: 4.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.01965, allocations: 0.5162 MB / 0.5339 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.917e-05/0.01972, allocations: 49.12 kB / 0.534 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.01984, allocations: 161.8 kB / 0.5341 GB, free: 3.695 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.02004, allocations: 234.6 kB / 0.5343 GB, free: 3.422 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.02005, allocations: 7.938 kB / 0.5344 GB, free: 3.414 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003691/0.02041, allocations: 322.9 kB / 0.5347 GB, free: 3.086 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.02043, allocations: 11.98 kB / 0.5347 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.02043, allocations: 6.438 kB / 0.5347 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003071/0.02074, allocations: 122.7 kB / 0.5348 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.02089, allocations: 65.38 kB / 0.5349 GB, free: 2.879 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/0.02292, allocations: 5.296 MB / 0.54 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.02302, allocations: 8 kB / 0.54 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.02304, allocations: 12 kB / 0.54 GB, free: 13.2 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 9.886e-05/0.02314, allocations: 181.5 kB / 0.5402 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.02318, allocations: 39.81 kB / 0.5403 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.0232, allocations: 35.45 kB / 0.5403 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.02321, allocations: 4 kB / 0.5403 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.02321, allocations: 4 kB / 0.5403 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.02321, allocations: 1.5 kB / 0.5403 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.02342, allocations: 264.4 kB / 0.5406 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.02342, allocations: 0 / 0.5406 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.02352, allocations: 39.97 kB / 0.5406 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002542/0.02378, allocations: 112.9 kB / 0.5407 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.02379, allocations: 8 kB / 0.5407 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/0.02571, allocations: 5.296 MB / 0.5459 GB, free: 6.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.02571, allocations: 2.094 kB / 0.5459 GB, free: 6.82 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.02611, allocations: 430.4 kB / 0.5463 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.651e-05/0.02617, allocations: 47.78 kB / 0.5463 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.02619, allocations: 6.844 kB / 0.5463 GB, free: 6.316 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.218e-05/0.02629, allocations: 8 kB / 0.5463 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.02633, allocations: 31.75 kB / 0.5464 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.02634, allocations: 4 kB / 0.5464 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001261/0.02646, allocations: 213.1 kB / 0.5466 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-08/0.02646, allocations: 0 / 0.5466 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002739/0.02674, allocations: 96.75 kB / 0.5467 GB, free: 5.969 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.0001079/0.02685, allocations: 105.2 kB / 0.5468 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004964/0.02734, allocations: 0.6756 MB / 0.5474 GB, free: 5.133 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.02734, allocations: 0.75 kB / 0.5474 GB, free: 5.133 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.02761, allocations: 0.5859 MB / 0.548 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.02791, allocations: 73.66 kB / 0.5481 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009326/0.02884, allocations: 0.6541 MB / 0.5487 GB, free: 3.758 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.277e-05/0.02892, allocations: 135.9 kB / 0.5489 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001078/0.02903, allocations: 47 kB / 0.5489 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.894e-05/0.02908, allocations: 20.5 kB / 0.5489 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of SimCode: time 7.92e-07/0.02908, allocations: 1.125 kB / 0.5489 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of Templates: time 0.006184/0.03526, allocations: 4.572 MB / 0.5534 GB, free: 15.15 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: 3.617873497772962]