Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.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.0009705/0.0009705, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001074/0.001074, allocations: 173.3 kB / 23.5 MB, free: 1.055 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.9435/0.9435, allocations: 177.1 MB / 203.8 MB, free: 5.191 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.8563/0.8563, allocations: 154.8 MB / 415.1 MB, free: 416 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.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance") translateModel(IDEAS.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.5205 GB, free: 2.32 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/2.97e-05, allocations: 6.25 kB / 0.5206 GB, free: 2.312 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.005628/0.005658, allocations: 3.157 MB / 0.5236 GB, free: 15.16 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.001899/0.007557, allocations: 1.36 MB / 0.525 GB, free: 13.8 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.007706, allocations: 4 kB / 0.525 GB, free: 13.79 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.000963/0.008669, allocations: 348.8 kB / 0.5253 GB, free: 13.45 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.0003725/0.009042, allocations: 148.4 kB / 0.5254 GB, free: 13.31 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.00936, allocations: 136.2 kB / 0.5256 GB, free: 13.18 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.0004405/0.009801, allocations: 314.8 kB / 0.5259 GB, free: 12.87 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005061/0.01031, allocations: 183.8 kB / 0.526 GB, free: 12.69 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003003/0.01061, allocations: 183.5 kB / 0.5262 GB, free: 12.51 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003054/0.01091, allocations: 123.7 kB / 0.5263 GB, free: 12.39 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.01094, allocations: 16 kB / 0.5264 GB, free: 12.38 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.01121, allocations: 155.5 kB / 0.5265 GB, free: 12.22 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 9.438e-05/0.01131, allocations: 87.73 kB / 0.5266 GB, free: 12.14 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 7.735e-05/0.01139, allocations: 79.83 kB / 0.5267 GB, free: 12.06 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.0003713/0.01176, allocations: 259.7 kB / 0.5269 GB, free: 11.8 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.01176, allocations: 4 kB / 0.5269 GB, free: 11.8 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.222e-06/0.01176, allocations: 0.5 kB / 0.5269 GB, free: 11.8 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.01177, allocations: 0.6875 kB / 0.5269 GB, free: 11.8 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007872/0.01256, allocations: 0.5396 MB / 0.5274 GB, free: 11.22 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.0126, allocations: 13.44 kB / 0.5275 GB, free: 11.21 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005092/0.01311, allocations: 120.5 kB / 0.5276 GB, free: 11.09 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.0134, allocations: 200.1 kB / 0.5278 GB, free: 10.88 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.01342, allocations: 12.75 kB / 0.5278 GB, free: 10.86 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.01344, allocations: 28.36 kB / 0.5278 GB, free: 10.84 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.01376, allocations: 287.7 kB / 0.5281 GB, free: 10.51 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.01377, allocations: 4.125 kB / 0.5281 GB, free: 10.51 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.01379, allocations: 8.375 kB / 0.5281 GB, free: 10.5 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.601e-05/0.01382, allocations: 20.31 kB / 0.5281 GB, free: 10.48 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.01397, allocations: 85.56 kB / 0.5282 GB, free: 10.4 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.01508, allocations: 1.242 MB / 0.5294 GB, free: 9.094 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.01525, allocations: 71.11 kB / 0.5295 GB, free: 9.012 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.625e-05/0.01529, allocations: 30.5 kB / 0.5295 GB, free: 8.98 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.0153, allocations: 0 / 0.5295 GB, free: 8.98 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.01533, allocations: 41.33 kB / 0.5295 GB, free: 8.93 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.01533, allocations: 0 / 0.5295 GB, free: 8.93 MB / 0.4949 GB Notification: Performance of matching and sorting (n=7): time 0.0003104/0.01564, allocations: 109.2 kB / 0.5296 GB, free: 8.812 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.01567, allocations: 62.09 kB / 0.5297 GB, free: 8.742 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.01582, allocations: 229.8 kB / 0.5299 GB, free: 8.5 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.01584, allocations: 33.69 kB / 0.53 GB, free: 8.461 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.01595, allocations: 214.9 kB / 0.5302 GB, free: 8.246 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.01598, allocations: 31.73 kB / 0.5302 GB, free: 8.215 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/0.01603, allocations: 35.38 kB / 0.5302 GB, free: 8.172 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.01617, allocations: 0.4962 MB / 0.5307 GB, free: 7.664 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.952e-05/0.01621, allocations: 16.77 kB / 0.5307 GB, free: 7.648 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.385e-05/0.01631, allocations: 108.9 kB / 0.5308 GB, free: 7.5 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.01646, allocations: 148.1 kB / 0.531 GB, free: 7.316 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01647, allocations: 0 / 0.531 GB, free: 7.316 MB / 0.4949 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000206/0.01667, allocations: 163.3 kB / 0.5311 GB, free: 7.148 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.01669, allocations: 8 kB / 0.5311 GB, free: 7.141 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01669, allocations: 6.75 kB / 0.5311 GB, free: 7.137 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001933/0.01689, allocations: 39.66 kB / 0.5312 GB, free: 7.094 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.909e-05/0.01696, allocations: 31.86 kB / 0.5312 GB, free: 7.062 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000869/0.01782, allocations: 1.745 MB / 0.5329 GB, free: 5.199 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.238e-05/0.0179, allocations: 11.89 kB / 0.5329 GB, free: 5.188 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.0179, allocations: 8 kB / 0.5329 GB, free: 5.18 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.653e-05/0.018, allocations: 168.5 kB / 0.5331 GB, free: 5.004 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.01803, allocations: 15.91 kB / 0.5331 GB, free: 4.988 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.129e-05/0.01805, allocations: 25.39 kB / 0.5331 GB, free: 4.961 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.01805, allocations: 7.562 kB / 0.5331 GB, free: 4.957 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01805, allocations: 0 / 0.5331 GB, free: 4.957 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01806, allocations: 0 / 0.5331 GB, free: 4.957 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000471/0.01853, allocations: 397 kB / 0.5335 GB, free: 4.523 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.01853, allocations: 0 / 0.5335 GB, free: 4.523 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.311e-05/0.01857, allocations: 15.92 kB / 0.5335 GB, free: 4.508 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001449/0.01872, allocations: 35.08 kB / 0.5336 GB, free: 4.473 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.01873, allocations: 0 / 0.5336 GB, free: 4.473 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007883/0.01952, allocations: 1.724 MB / 0.5352 GB, free: 2.629 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.01952, allocations: 7.984 kB / 0.5353 GB, free: 2.621 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.01967, allocations: 240.9 kB / 0.5355 GB, free: 2.363 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.0197, allocations: 15.94 kB / 0.5355 GB, free: 2.348 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.01971, allocations: 3.984 kB / 0.5355 GB, free: 2.344 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.407e-05/0.01978, allocations: 9.375 kB / 0.5355 GB, free: 2.336 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.0198, allocations: 11.92 kB / 0.5355 GB, free: 2.324 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.0198, allocations: 0 / 0.5355 GB, free: 2.324 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 8.107e-05/0.01988, allocations: 169.3 kB / 0.5357 GB, free: 2.16 MB / 0.4949 GB Notification: Performance of sort global known variables: time 6e-08/0.01988, allocations: 0.5312 kB / 0.5357 GB, free: 2.16 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0002282/0.02011, allocations: 56.41 kB / 0.5357 GB, free: 2.105 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.922e-05/0.02021, allocations: 96.52 kB / 0.5358 GB, free: 2.004 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0002707/0.02048, allocations: 243.7 kB / 0.5361 GB, free: 1.746 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.02049, allocations: 0 / 0.5361 GB, free: 1.746 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 9.372e-05/0.02058, allocations: 194.1 kB / 0.5362 GB, free: 1.535 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.02083, allocations: 29.45 kB / 0.5363 GB, free: 1.508 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007122/0.02155, allocations: 360.7 kB / 0.5366 GB, free: 1.129 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.418e-05/0.0216, allocations: 87.97 kB / 0.5367 GB, free: 1.023 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 6.323e-05/0.02166, allocations: 23.97 kB / 0.5367 GB, free: 1.004 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.02169, allocations: 13.66 kB / 0.5367 GB, free: 0.9922 MB / 0.4949 GB Notification: Performance of SimCode: time 6.41e-07/0.02169, allocations: 0 / 0.5367 GB, free: 0.9922 MB / 0.4949 GB Notification: Performance of Templates: time 0.003747/0.02544, allocations: 1.674 MB / 0.5384 GB, free: 15.43 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.841794779058546]