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.001885/0.001885, allocations: 81.5 kB / 19.44 MB, free: 344 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.002103/0.002103, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.555 MB / 186.7 MB " [Timeout remaining time 178] 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 1.329/1.329, allocations: 154.8 MB / 414.3 MB, free: 460 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 178] 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.673e-06/1.673e-06, allocations: 0 / 0.5198 GB, free: 2.32 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.858e-05/3.026e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.316 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.007451/0.007481, allocations: 3.125 MB / 0.5229 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003613/0.01109, allocations: 1.366 MB / 0.5242 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.01125, allocations: 8.5 kB / 0.5242 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.01278, allocations: 340.5 kB / 0.5246 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005732/0.01335, allocations: 148.5 kB / 0.5247 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005657/0.01392, allocations: 136.3 kB / 0.5248 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006085/0.01453, allocations: 310.9 kB / 0.5251 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005698/0.0151, allocations: 185.5 kB / 0.5253 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003599/0.01546, allocations: 179.5 kB / 0.5255 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004478/0.01591, allocations: 126.7 kB / 0.5256 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.942e-05/0.01597, allocations: 16 kB / 0.5256 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004537/0.01642, allocations: 163.4 kB / 0.5258 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.01658, allocations: 87.78 kB / 0.5258 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.01676, allocations: 83.77 kB / 0.5259 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007649/0.01752, allocations: 339 kB / 0.5262 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.01753, allocations: 0 / 0.5262 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.543e-06/0.01753, allocations: 0 / 0.5262 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.01753, allocations: 4.469 kB / 0.5263 GB, free: 11.75 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.001312/0.01885, allocations: 0.5553 MB / 0.5268 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.01889, allocations: 9 kB / 0.5268 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009767/0.01987, allocations: 113.6 kB / 0.5269 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.02032, allocations: 203.2 kB / 0.5271 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.02035, allocations: 12.75 kB / 0.5271 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.249e-05/0.0204, allocations: 29.25 kB / 0.5271 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006267/0.02103, allocations: 314.3 kB / 0.5274 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.02104, allocations: 5.406 kB / 0.5275 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.02107, allocations: 4.375 kB / 0.5275 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.638e-05/0.02113, allocations: 24.3 kB / 0.5275 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.02146, allocations: 97.64 kB / 0.5276 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.02369, allocations: 1.282 MB / 0.5288 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.024, allocations: 79.05 kB / 0.5289 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.716e-05/0.02407, allocations: 23.84 kB / 0.5289 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.02409, allocations: 4.578 kB / 0.5289 GB, free: 8.828 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/0.02414, allocations: 37.33 kB / 0.529 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.02414, allocations: 1.188 kB / 0.529 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0006103/0.02475, allocations: 126.1 kB / 0.5291 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.02481, allocations: 51.41 kB / 0.5291 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003785/0.02518, allocations: 262.4 kB / 0.5294 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.02521, allocations: 25.7 kB / 0.5294 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.02544, allocations: 220.5 kB / 0.5296 GB, free: 8.062 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/0.02548, allocations: 31.73 kB / 0.5296 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.0256, allocations: 43.38 kB / 0.5297 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003762/0.02598, allocations: 0.4962 MB / 0.5302 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.315e-05/0.02607, allocations: 25.73 kB / 0.5302 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.02629, allocations: 120.8 kB / 0.5303 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/0.02662, allocations: 155.5 kB / 0.5305 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.02663, allocations: 4 kB / 0.5305 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005166/0.02714, allocations: 170.8 kB / 0.5306 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.02716, allocations: 8.938 kB / 0.5306 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.02717, allocations: 0 / 0.5306 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000352/0.02752, allocations: 42.78 kB / 0.5307 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.02772, allocations: 31.92 kB / 0.5307 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.02987, allocations: 1.768 MB / 0.5324 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.03006, allocations: 20.61 kB / 0.5325 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.03008, allocations: 8 kB / 0.5325 GB, free: 4.918 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.000207/0.03029, allocations: 171.6 kB / 0.5326 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.109e-05/0.03037, allocations: 15.91 kB / 0.5326 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.517e-05/0.03043, allocations: 21.45 kB / 0.5327 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.03043, allocations: 3.938 kB / 0.5327 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.03044, allocations: 0 / 0.5327 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.03044, allocations: 4 kB / 0.5327 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008546/0.0313, allocations: 424.1 kB / 0.5331 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.0313, allocations: 0 / 0.5331 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.837e-05/0.03138, allocations: 11.98 kB / 0.5331 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002217/0.0316, allocations: 31.67 kB / 0.5331 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.03161, allocations: 1.062 kB / 0.5331 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/0.0337, allocations: 1.753 MB / 0.5348 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.0337, allocations: 0.6562 kB / 0.5348 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000404/0.0341, allocations: 251.4 kB / 0.5351 GB, free: 2.051 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.169e-05/0.03418, allocations: 20.92 kB / 0.5351 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.03421, allocations: 4 kB / 0.5351 GB, free: 2.027 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.0344, allocations: 6.875 kB / 0.5351 GB, free: 2.023 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.03444, allocations: 11.98 kB / 0.5351 GB, free: 2.012 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.03444, allocations: 0 / 0.5351 GB, free: 2.012 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000239/0.03468, allocations: 177.3 kB / 0.5353 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.21e-07/0.03468, allocations: 0 / 0.5353 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006164/0.0353, allocations: 59.84 kB / 0.5353 GB, free: 1.781 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.0001611/0.03546, allocations: 99.17 kB / 0.5354 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005992/0.03606, allocations: 249.4 kB / 0.5357 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.03606, allocations: 0 / 0.5357 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003356/0.0364, allocations: 209.5 kB / 0.5359 GB, free: 1.188 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000567/0.03697, allocations: 28.67 kB / 0.5359 GB, free: 1.164 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009565/0.03792, allocations: 346.6 kB / 0.5362 GB, free: 0.793 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.03815, allocations: 133.8 kB / 0.5364 GB, free: 0.6445 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001137/0.03826, allocations: 20.56 kB / 0.5364 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.03831, allocations: 20.44 kB / 0.5364 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of SimCode: time 7.82e-07/0.03831, allocations: 0.6875 kB / 0.5364 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of Templates: time 0.007981/0.04629, allocations: 1.676 MB / 0.538 GB, free: 15.04 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: 6.066404346958734]