Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001014/0.001014, allocations: 88.22 kB / 19.65 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.001/0.001, allocations: 177 kB / 23.02 MB, free: 1.539 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.9376/0.9376, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.7091/0.7091, allocations: 154.6 MB / 414.5 MB, free: 0.6719 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.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance") translateModel(IDEAS.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.5203 GB, free: 2.242 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.743e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.238 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.002583/0.0026, allocations: 2.536 MB / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.003797, allocations: 0.994 MB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.003899, allocations: 4 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004/0.004299, allocations: 104.9 kB / 0.5239 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.004533, allocations: 136.7 kB / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.004721, allocations: 111.7 kB / 0.5241 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.004975, allocations: 314.9 kB / 0.5244 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002864/0.005261, allocations: 189.5 kB / 0.5246 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.005402, allocations: 175.6 kB / 0.5247 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.005614, allocations: 132.6 kB / 0.5249 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.00564, allocations: 16 kB / 0.5249 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.005776, allocations: 88.84 kB / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.432e-05/0.00585, allocations: 87.75 kB / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.594e-05/0.005916, allocations: 83.77 kB / 0.5251 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.006167, allocations: 223.8 kB / 0.5253 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.00617, allocations: 1.031 kB / 0.5253 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.51e-07/0.00617, allocations: 0 / 0.5253 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.006175, allocations: 7.938 kB / 0.5253 GB, free: 13.07 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.0005418/0.006717, allocations: 0.5284 MB / 0.5259 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.006749, allocations: 8.656 kB / 0.5259 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003722/0.007121, allocations: 130.1 kB / 0.526 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.007324, allocations: 196.3 kB / 0.5262 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.007338, allocations: 8.75 kB / 0.5262 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.007359, allocations: 20.38 kB / 0.5262 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.007622, allocations: 294.3 kB / 0.5265 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.007632, allocations: 5.938 kB / 0.5265 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.007651, allocations: 12.36 kB / 0.5265 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.22e-05/0.007683, allocations: 24.3 kB / 0.5265 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.007805, allocations: 88.75 kB / 0.5266 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009518/0.008757, allocations: 1.231 MB / 0.5278 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.008899, allocations: 71.06 kB / 0.5279 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.2e-05/0.008931, allocations: 27.08 kB / 0.5279 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-06/0.008937, allocations: 0 / 0.5279 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.008961, allocations: 45.31 kB / 0.528 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.008962, allocations: 0 / 0.528 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002728/0.009235, allocations: 117.2 kB / 0.5281 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.009256, allocations: 51.41 kB / 0.5281 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.009377, allocations: 236.7 kB / 0.5283 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.009387, allocations: 25.7 kB / 0.5284 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.781e-05/0.009465, allocations: 214.7 kB / 0.5286 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.009481, allocations: 31.73 kB / 0.5286 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.009522, allocations: 39.36 kB / 0.5286 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.009627, allocations: 0.4923 MB / 0.5291 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.839e-05/0.009655, allocations: 20 kB / 0.5291 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/0.009722, allocations: 116.8 kB / 0.5293 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.009822, allocations: 139.8 kB / 0.5294 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.009824, allocations: 1.281 kB / 0.5294 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001772/0.01, allocations: 166.2 kB / 0.5295 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.01002, allocations: 8.5 kB / 0.5296 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.01003, allocations: 2.281 kB / 0.5296 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000158/0.01018, allocations: 35.66 kB / 0.5296 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.259e-05/0.01025, allocations: 34.36 kB / 0.5296 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000714/0.01096, allocations: 1.751 MB / 0.5313 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.334e-05/0.01102, allocations: 21.86 kB / 0.5314 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.01103, allocations: 7.984 kB / 0.5314 GB, free: 6.453 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 7.806e-05/0.01111, allocations: 164.5 kB / 0.5315 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.01113, allocations: 20.61 kB / 0.5315 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.546e-05/0.01115, allocations: 17.47 kB / 0.5316 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01115, allocations: 4.531 kB / 0.5316 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.01115, allocations: 4 kB / 0.5316 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.01116, allocations: 0.9375 kB / 0.5316 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.01144, allocations: 389 kB / 0.5319 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01144, allocations: 0.9375 kB / 0.5319 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.031e-05/0.01146, allocations: 12 kB / 0.5319 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-05/0.01155, allocations: 33.47 kB / 0.532 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.01155, allocations: 2.438 kB / 0.532 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006001/0.01215, allocations: 1.732 MB / 0.5337 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01215, allocations: 2.688 kB / 0.5337 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.01243, allocations: 247.4 kB / 0.5339 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.443e-05/0.01245, allocations: 15.89 kB / 0.5339 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.335e-06/0.01246, allocations: 4 kB / 0.5339 GB, free: 3.625 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.212e-05/0.01251, allocations: 11.92 kB / 0.5339 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.01253, allocations: 4 kB / 0.5339 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.01254, allocations: 5.281 kB / 0.5339 GB, free: 3.605 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.974e-05/0.01261, allocations: 165.3 kB / 0.5341 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.1e-08/0.01261, allocations: 0 / 0.5341 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000201/0.01281, allocations: 59.78 kB / 0.5342 GB, free: 3.387 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 7.233e-05/0.01288, allocations: 96.72 kB / 0.5343 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000255/0.01313, allocations: 239.5 kB / 0.5345 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01314, allocations: 0 / 0.5345 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.363e-05/0.01322, allocations: 199 kB / 0.5347 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.01344, allocations: 25.02 kB / 0.5347 GB, free: 2.793 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006416/0.01408, allocations: 361.6 kB / 0.535 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.249e-05/0.01413, allocations: 87.97 kB / 0.5351 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.556e-05/0.01419, allocations: 19.91 kB / 0.5351 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.598e-05/0.01421, allocations: 16.5 kB / 0.5352 GB, free: 2.273 MB / 0.4948 GB Notification: Performance of SimCode: time 7.51e-07/0.01421, allocations: 1.5 kB / 0.5352 GB, free: 2.273 MB / 0.4948 GB Notification: Performance of Templates: time 0.003396/0.01761, allocations: 1.734 MB / 0.5369 GB, free: 0.6602 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.sim & ./IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4529674351215363]