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.0009437/0.0009437, allocations: 76.94 kB / 19.94 MB, free: 4.543 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.0009757/0.0009757, allocations: 176.9 kB / 23.36 MB, free: 1.125 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.9417/0.9417, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.772/0.772, allocations: 154.6 MB / 414.8 MB, free: 0.5352 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.363e-06/1.363e-06, allocations: 0 / 480 MB, free: 6.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.419e-05, allocations: 4.703 kB / 480 MB, free: 6.934 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.003539/0.003563, allocations: 2.543 MB / 482.5 MB, free: 4.418 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.005281, allocations: 1.001 MB / 483.5 MB, free: 3.426 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.005432, allocations: 8.625 kB / 483.5 MB, free: 3.418 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004851/0.005917, allocations: 106.6 kB / 483.6 MB, free: 3.316 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.006247, allocations: 139.2 kB / 483.8 MB, free: 3.18 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.006523, allocations: 107.7 kB / 483.9 MB, free: 3.074 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003842/0.006907, allocations: 318.8 kB / 484.2 MB, free: 2.762 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002712/0.007179, allocations: 184.5 kB / 484.4 MB, free: 2.59 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.007378, allocations: 175.6 kB / 484.5 MB, free: 2.418 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.007639, allocations: 120.9 kB / 484.6 MB, free: 2.301 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.007667, allocations: 20 kB / 484.7 MB, free: 2.281 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.007814, allocations: 87.78 kB / 484.7 MB, free: 2.195 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.374e-05/0.007898, allocations: 96.5 kB / 484.8 MB, free: 2.102 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.955e-05/0.007978, allocations: 79.81 kB / 484.9 MB, free: 2.023 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.008272, allocations: 227.3 kB / 485.1 MB, free: 1.801 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.008275, allocations: 0.625 kB / 485.1 MB, free: 1.801 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.008276, allocations: 0.625 kB / 485.1 MB, free: 1.801 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.00828, allocations: 0 / 485.1 MB, free: 1.801 MB / 442.7 MB 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.0005632/0.008843, allocations: 420.5 kB / 485.6 MB, free: 1.367 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.008876, allocations: 12.59 kB / 485.6 MB, free: 1.355 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005342/0.00941, allocations: 111.2 kB / 485.7 MB, free: 1.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.009639, allocations: 187 kB / 485.9 MB, free: 1.043 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.009655, allocations: 12.75 kB / 485.9 MB, free: 1.031 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.009684, allocations: 20.38 kB / 485.9 MB, free: 1.012 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.009955, allocations: 276.1 kB / 486.2 MB, free: 0.6992 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.009965, allocations: 1.094 kB / 486.2 MB, free: 0.6992 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.009984, allocations: 8.375 kB / 486.2 MB, free: 0.6914 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/0.01002, allocations: 22.14 kB / 486.2 MB, free: 0.6719 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.01012, allocations: 65.41 kB / 486.3 MB, free: 0.6094 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008812/0.011, allocations: 0.8846 MB / 487.1 MB, free: 15.68 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.01114, allocations: 66.53 kB / 487.2 MB, free: 15.61 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.691e-05/0.01117, allocations: 12.86 kB / 487.2 MB, free: 15.59 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.01117, allocations: 1.062 kB / 487.2 MB, free: 15.59 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.0112, allocations: 34.56 kB / 487.3 MB, free: 15.55 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.0112, allocations: 0 / 487.3 MB, free: 15.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002756/0.01147, allocations: 103.5 kB / 487.4 MB, free: 15.44 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.0115, allocations: 56.03 kB / 487.4 MB, free: 15.37 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.01163, allocations: 178.5 kB / 487.6 MB, free: 15.18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.01164, allocations: 26.3 kB / 487.6 MB, free: 15.15 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.626e-05/0.01172, allocations: 165.4 kB / 487.8 MB, free: 14.99 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.01173, allocations: 27.78 kB / 487.8 MB, free: 14.96 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/0.01179, allocations: 37.66 kB / 487.8 MB, free: 14.92 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.59e-05/0.01187, allocations: 322.8 kB / 488.1 MB, free: 14.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.5e-05/0.0119, allocations: 12.77 kB / 488.2 MB, free: 14.58 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.258e-05/0.01196, allocations: 76.56 kB / 488.2 MB, free: 14.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.01207, allocations: 110.5 kB / 488.3 MB, free: 14.34 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.01207, allocations: 0 / 488.3 MB, free: 14.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002018/0.01227, allocations: 132.9 kB / 488.5 MB, free: 14.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.01229, allocations: 6.5 kB / 488.5 MB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.0123, allocations: 4.938 kB / 488.5 MB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001534/0.01245, allocations: 26.16 kB / 488.5 MB, free: 14.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.833e-05/0.01253, allocations: 32.77 kB / 488.5 MB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006618/0.01319, allocations: 1.189 MB / 489.7 MB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.082e-05/0.01327, allocations: 23.77 kB / 489.8 MB, free: 12.83 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.01328, allocations: 8 kB / 489.8 MB, free: 12.82 MB / 458.7 MB 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 8.525e-05/0.01337, allocations: 130.9 kB / 489.9 MB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.01339, allocations: 4 kB / 489.9 MB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.911e-05/0.01341, allocations: 25.39 kB / 489.9 MB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01342, allocations: 4 kB / 489.9 MB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.01342, allocations: 0 / 489.9 MB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01342, allocations: 5.688 kB / 489.9 MB, free: 12.65 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.01369, allocations: 251.6 kB / 490.2 MB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.01369, allocations: 3.984 kB / 490.2 MB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.623e-05/0.01372, allocations: 11.94 kB / 490.2 MB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.542e-05/0.01381, allocations: 30.45 kB / 490.2 MB, free: 12.33 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.01382, allocations: 9.812 kB / 490.2 MB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005631/0.01438, allocations: 1.18 MB / 491.4 MB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01438, allocations: 0.5312 kB / 491.4 MB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.0145, allocations: 176.1 kB / 491.6 MB, free: 10.85 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.781e-05/0.01453, allocations: 14.14 kB / 491.6 MB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.01454, allocations: 3.984 kB / 491.6 MB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.236e-05/0.01462, allocations: 4 kB / 491.6 MB, free: 10.83 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.01463, allocations: 11.92 kB / 491.6 MB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.01464, allocations: 4 kB / 491.6 MB, free: 10.82 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.604e-05/0.01468, allocations: 43.72 kB / 491.7 MB, free: 10.77 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01468, allocations: 0 / 491.7 MB, free: 10.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002685/0.01495, allocations: 60.45 kB / 491.7 MB, free: 10.71 MB / 458.7 MB 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 8.855e-05/0.01504, allocations: 85.78 kB / 491.8 MB, free: 10.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.01524, allocations: 169.5 kB / 492 MB, free: 10.44 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.01525, allocations: 4 kB / 492 MB, free: 10.44 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.217e-05/0.01534, allocations: 136.7 kB / 492.1 MB, free: 10.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.01559, allocations: 38.7 kB / 492.1 MB, free: 10.26 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007327/0.01632, allocations: 365.6 kB / 492.5 MB, free: 9.875 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.502e-05/0.01638, allocations: 87.95 kB / 492.6 MB, free: 9.77 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.698e-05/0.01645, allocations: 16.02 kB / 492.6 MB, free: 9.758 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.396e-05/0.01655, allocations: 75.36 kB / 492.7 MB, free: 9.684 MB / 458.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01655, allocations: 5.062 kB / 492.7 MB, free: 9.68 MB / 458.7 MB Notification: Performance of Templates: time 0.004272/0.02082, allocations: 1.759 MB / 494.4 MB, free: 8.059 MB / 458.7 MB " [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.6092412061989307]