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.001461/0.001461, allocations: 92.22 kB / 19.65 MB, free: 280 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.001729/0.001729, allocations: 169 kB / 23.02 MB, free: 1.555 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.045/1.045, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.8179/0.8179, allocations: 154.8 MB / 414.7 MB, free: 500 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.674e-06/1.674e-06, allocations: 0 / 0.5205 GB, free: 1.984 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.184e-05/3.351e-05, allocations: 4.141 kB / 0.5205 GB, free: 1.98 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.00417/0.004204, allocations: 2.547 MB / 0.523 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001964/0.006167, allocations: 0.9895 MB / 0.524 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.006362, allocations: 11.94 kB / 0.524 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006484/0.00701, allocations: 92.3 kB / 0.5241 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003998/0.00741, allocations: 141.3 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.007743, allocations: 111.6 kB / 0.5243 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004274/0.00817, allocations: 319.9 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004167/0.008587, allocations: 184.6 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.008822, allocations: 175.6 kB / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003189/0.009141, allocations: 129 kB / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.988e-05/0.009181, allocations: 20 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.009387, allocations: 83.8 kB / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.009489, allocations: 92.55 kB / 0.5253 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.009591, allocations: 79.83 kB / 0.5254 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003864/0.009978, allocations: 228.1 kB / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.009982, allocations: 4 kB / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.353e-06/0.009984, allocations: 1 kB / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.00999, allocations: 0 / 0.5256 GB, free: 12.82 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007516/0.01074, allocations: 0.5326 MB / 0.5261 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.01079, allocations: 12.03 kB / 0.5261 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006188/0.01141, allocations: 121.4 kB / 0.5262 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.0117, allocations: 189.6 kB / 0.5264 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.01172, allocations: 13.94 kB / 0.5264 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.01176, allocations: 16.38 kB / 0.5264 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004037/0.01216, allocations: 306.3 kB / 0.5267 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.01218, allocations: 192 / 0.5267 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.0122, allocations: 6.188 kB / 0.5267 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.495e-05/0.01225, allocations: 24.3 kB / 0.5268 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.01245, allocations: 92.69 kB / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.01373, allocations: 1.242 MB / 0.5281 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.01394, allocations: 71.11 kB / 0.5281 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.861e-05/0.01399, allocations: 16.72 kB / 0.5281 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.01399, allocations: 0 / 0.5281 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.01403, allocations: 46.39 kB / 0.5282 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.01403, allocations: 0 / 0.5282 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0004019/0.01443, allocations: 116.7 kB / 0.5283 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.01446, allocations: 51.41 kB / 0.5284 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.01466, allocations: 233.8 kB / 0.5286 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.01467, allocations: 29.7 kB / 0.5286 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.01479, allocations: 214.7 kB / 0.5288 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.01482, allocations: 31.89 kB / 0.5288 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/0.01488, allocations: 43.36 kB / 0.5289 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.01504, allocations: 0.4884 MB / 0.5294 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.794e-05/0.01509, allocations: 23.02 kB / 0.5294 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.0152, allocations: 114.9 kB / 0.5295 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.01536, allocations: 138.2 kB / 0.5296 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.01536, allocations: 0 / 0.5296 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002912/0.01565, allocations: 163.7 kB / 0.5298 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.01567, allocations: 15.88 kB / 0.5298 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.01568, allocations: 8 kB / 0.5298 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002579/0.01594, allocations: 36.16 kB / 0.5298 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.01605, allocations: 28 kB / 0.5299 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.01734, allocations: 1.748 MB / 0.5316 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.01746, allocations: 22.33 kB / 0.5316 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.01747, allocations: 4 kB / 0.5316 GB, free: 6.195 MB / 0.4948 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 0.0001122/0.01758, allocations: 164.5 kB / 0.5317 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.01762, allocations: 15.91 kB / 0.5318 GB, free: 6.008 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.01765, allocations: 19 kB / 0.5318 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.01765, allocations: 3.938 kB / 0.5318 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.01766, allocations: 4 kB / 0.5318 GB, free: 5.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.01767, allocations: 3.984 kB / 0.5318 GB, free: 5.977 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004766/0.01814, allocations: 389.6 kB / 0.5322 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.01815, allocations: 0 / 0.5322 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.01818, allocations: 8.656 kB / 0.5322 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001493/0.01833, allocations: 33.47 kB / 0.5322 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.01834, allocations: 1.344 kB / 0.5322 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/0.01935, allocations: 1.738 MB / 0.5339 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01935, allocations: 0 / 0.5339 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.01955, allocations: 243.4 kB / 0.5341 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.882e-05/0.0196, allocations: 23.88 kB / 0.5342 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.01962, allocations: 0 / 0.5342 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.01972, allocations: 14.19 kB / 0.5342 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.01975, allocations: 3.984 kB / 0.5342 GB, free: 3.352 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.01975, allocations: 4 kB / 0.5342 GB, free: 3.348 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001071/0.01986, allocations: 161.3 kB / 0.5343 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01986, allocations: 0 / 0.5343 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004197/0.02028, allocations: 57.12 kB / 0.5344 GB, free: 3.137 MB / 0.4948 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 0.000133/0.02041, allocations: 100.8 kB / 0.5345 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003979/0.02081, allocations: 238.1 kB / 0.5347 GB, free: 2.777 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.02081, allocations: 0.9375 kB / 0.5347 GB, free: 2.777 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.02097, allocations: 201.5 kB / 0.5349 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.02137, allocations: 40.8 kB / 0.5349 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.0224, allocations: 354.5 kB / 0.5353 GB, free: 2.148 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.582e-05/0.02247, allocations: 91.95 kB / 0.5354 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.239e-05/0.02256, allocations: 15.55 kB / 0.5354 GB, free: 2.027 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.0226, allocations: 16.5 kB / 0.5354 GB, free: 2.012 MB / 0.4948 GB Notification: Performance of SimCode: time 1.322e-06/0.0226, allocations: 1.375 kB / 0.5354 GB, free: 2.012 MB / 0.4948 GB Notification: Performance of Templates: time 0.004981/0.02758, allocations: 1.668 MB / 0.537 GB, free: 460 kB / 0.4948 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: 4.174894238822162]