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.0007462/0.0007462, allocations: 72.45 kB / 19.91 MB, free: 12 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.0007639/0.0007639, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.8786/0.8786, allocations: 177.2 MB / 203.6 MB, free: 5.762 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-531:686: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-531:694: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.721/0.721, allocations: 154.7 MB / 414.7 MB, free: 0.7656 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009073/0.0009073, allocations: 74.08 kB / 0.6195 GB, free: 13.16 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4348/0.4357, allocations: 102 MB / 0.7191 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.004316/0.44, allocations: 4.233 MB / 0.7232 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001784/0.4418, allocations: 1.816 MB / 0.725 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.4419, allocations: 13 kB / 0.725 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008905/0.4428, allocations: 0.6036 MB / 0.7256 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003823/0.4432, allocations: 263.1 kB / 0.7258 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.4435, allocations: 261.3 kB / 0.7261 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000485/0.444, allocations: 0.6158 MB / 0.7267 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004569/0.4445, allocations: 344.8 kB / 0.727 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/0.4448, allocations: 359.4 kB / 0.7274 GB, free: 18.51 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003647/0.4451, allocations: 270 kB / 0.7276 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.588e-05/0.4452, allocations: 36.59 kB / 0.7277 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002659/0.4454, allocations: 235.2 kB / 0.7279 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.4456, allocations: 153 kB / 0.728 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.4457, allocations: 183.2 kB / 0.7282 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006957/0.4464, allocations: 0.6552 MB / 0.7288 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.4464, allocations: 0 / 0.7288 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4464, allocations: 1.031 kB / 0.7288 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.4464, allocations: 0 / 0.7288 GB, free: 17.93 MB / 0.6355 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.0008031/0.4472, allocations: 0.6623 MB / 0.7295 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.4473, allocations: 10.31 kB / 0.7295 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000558/0.4478, allocations: 151.6 kB / 0.7296 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.4481, allocations: 278.1 kB / 0.7299 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.4482, allocations: 23.62 kB / 0.7299 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.826e-05/0.4482, allocations: 37.64 kB / 0.73 GB, free: 17.19 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005941/0.4488, allocations: 0.6814 MB / 0.7306 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.4488, allocations: 9.094 kB / 0.7306 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.4488, allocations: 20.61 kB / 0.7307 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.717e-05/0.4489, allocations: 32.83 kB / 0.7307 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004461/0.4493, allocations: 384.7 kB / 0.7311 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.4507, allocations: 1.665 MB / 0.7327 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/0.451, allocations: 244.5 kB / 0.7329 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.4511, allocations: 98.34 kB / 0.733 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.4511, allocations: 2.75 kB / 0.733 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.4512, allocations: 32.69 kB / 0.733 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.4512, allocations: 1.375 kB / 0.733 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.001362/0.4525, allocations: 0.9001 MB / 0.7339 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.4525, allocations: 58.84 kB / 0.734 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.4527, allocations: 271.7 kB / 0.7342 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.4528, allocations: 28.27 kB / 0.7343 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.96e-05/0.4529, allocations: 236.5 kB / 0.7345 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.4529, allocations: 89.84 kB / 0.7346 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-05/0.453, allocations: 62.27 kB / 0.7346 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.692e-05/0.453, allocations: 341 kB / 0.735 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.4531, allocations: 108.7 kB / 0.7351 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.4533, allocations: 194.5 kB / 0.7353 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.4536, allocations: 324.8 kB / 0.7356 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4536, allocations: 0.8125 kB / 0.7356 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004744/0.454, allocations: 432 kB / 0.736 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.454, allocations: 11.41 kB / 0.736 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.4541, allocations: 2.625 kB / 0.736 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002164/0.4543, allocations: 91.06 kB / 0.7361 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.4544, allocations: 70.2 kB / 0.7361 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.4559, allocations: 4.015 MB / 0.7401 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.456, allocations: 9.516 kB / 0.7401 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.456, allocations: 13.38 kB / 0.7401 GB, free: 9.277 MB / 0.6355 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.0001201/0.4561, allocations: 180.7 kB / 0.7403 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.4561, allocations: 31.34 kB / 0.7403 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.4562, allocations: 42.45 kB / 0.7403 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.4562, allocations: 0 / 0.7403 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4562, allocations: 5.438 kB / 0.7403 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.82e-06/0.4562, allocations: 5.734 kB / 0.7403 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.4564, allocations: 281.6 kB / 0.7406 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.4564, allocations: 0 / 0.7406 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.4565, allocations: 41.38 kB / 0.7406 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001776/0.4567, allocations: 87.8 kB / 0.7407 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.4567, allocations: 9.812 kB / 0.7407 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/0.458, allocations: 4 MB / 0.7446 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.458, allocations: 0.5625 kB / 0.7446 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005157/0.4585, allocations: 0.5494 MB / 0.7452 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.61e-05/0.4586, allocations: 44.11 kB / 0.7452 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.4586, allocations: 11.66 kB / 0.7452 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.4587, allocations: 15.27 kB / 0.7453 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.4588, allocations: 28.11 kB / 0.7453 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.4588, allocations: 4.734 kB / 0.7453 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001141/0.4589, allocations: 188.6 kB / 0.7455 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4589, allocations: 0 / 0.7455 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002808/0.4592, allocations: 95.34 kB / 0.7456 GB, free: 4.531 MB / 0.6355 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 7.424e-05/0.4592, allocations: 106.5 kB / 0.7457 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004994/0.4597, allocations: 0.5868 MB / 0.7462 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4597, allocations: 1.656 kB / 0.7462 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.46, allocations: 465.8 kB / 0.7467 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.4603, allocations: 66.23 kB / 0.7467 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000812/0.4611, allocations: 0.7716 MB / 0.7475 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.4613, allocations: 229.2 kB / 0.7477 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.734e-05/0.4614, allocations: 25.03 kB / 0.7477 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of SimCode: time 7.62e-07/0.4614, allocations: 4 kB / 0.7477 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of Templates: time 0.008439/0.4698, allocations: 8.692 MB / 0.7562 GB, free: 1.051 MB / 0.6355 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.673964482033625] Failed to read output from testmodel.py, exit status != 0: 0.47507359692826867 0.483923572 0.035657135 Calling exit ...