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.0009369/0.0009369, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009634/0.0009634, allocations: 181 kB / 23.36 MB, free: 1.133 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.041/1.041, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.8104/0.8104, allocations: 154.6 MB / 414.8 MB, free: 0.5117 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.573e-06/1.573e-06, allocations: 0 / 480 MB, free: 6.887 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.587e-05, allocations: 4.844 kB / 480 MB, free: 6.883 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.003347/0.003373, allocations: 2.587 MB / 482.6 MB, free: 4.332 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.004918, allocations: 1.007 MB / 483.6 MB, free: 3.336 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.005044, allocations: 7.938 kB / 483.6 MB, free: 3.328 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004357/0.005479, allocations: 99.44 kB / 483.7 MB, free: 3.23 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.005756, allocations: 139.9 kB / 483.8 MB, free: 3.094 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.005987, allocations: 105.8 kB / 484 MB, free: 2.992 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003286/0.006316, allocations: 326.7 kB / 484.3 MB, free: 2.672 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002623/0.006578, allocations: 178 kB / 484.4 MB, free: 2.504 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.006763, allocations: 179.6 kB / 484.6 MB, free: 2.328 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.007019, allocations: 124.6 kB / 484.7 MB, free: 2.207 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.007045, allocations: 16.53 kB / 484.8 MB, free: 2.191 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.007218, allocations: 92.77 kB / 484.8 MB, free: 2.102 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.695e-05/0.007295, allocations: 87.8 kB / 484.9 MB, free: 2.016 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.623e-05/0.007361, allocations: 83.77 kB / 485 MB, free: 1.934 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.007633, allocations: 224 kB / 485.2 MB, free: 1.715 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.007638, allocations: 3.984 kB / 485.2 MB, free: 1.711 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.007639, allocations: 0.8438 kB / 485.2 MB, free: 1.711 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.007644, allocations: 4 kB / 485.2 MB, free: 1.707 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.0004888/0.008132, allocations: 416.6 kB / 485.7 MB, free: 1.281 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.008168, allocations: 12.66 kB / 485.7 MB, free: 1.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00041/0.008578, allocations: 109.3 kB / 485.8 MB, free: 1.164 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.008799, allocations: 182.6 kB / 485.9 MB, free: 0.9609 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.008812, allocations: 13.33 kB / 486 MB, free: 0.9492 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.008832, allocations: 21.19 kB / 486 MB, free: 0.9297 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.009074, allocations: 272.2 kB / 486.2 MB, free: 0.6211 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.009085, allocations: 6.516 kB / 486.3 MB, free: 0.6172 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.009101, allocations: 8.375 kB / 486.3 MB, free: 0.6094 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.2e-05/0.009133, allocations: 20.31 kB / 486.3 MB, free: 0.5898 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.617e-05/0.009219, allocations: 64.33 kB / 486.3 MB, free: 0.5273 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007444/0.009964, allocations: 0.8906 MB / 487.2 MB, free: 15.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.01008, allocations: 63.11 kB / 487.3 MB, free: 15.52 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.198e-05/0.0101, allocations: 16.69 kB / 487.3 MB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-06/0.01011, allocations: 4 kB / 487.3 MB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.01013, allocations: 39.28 kB / 487.4 MB, free: 15.45 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.01014, allocations: 0 / 487.4 MB, free: 15.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002362/0.01037, allocations: 95.47 kB / 487.4 MB, free: 15.35 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.01039, allocations: 52.19 kB / 487.5 MB, free: 15.29 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.0105, allocations: 174.6 kB / 487.7 MB, free: 15.11 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.01051, allocations: 29.7 kB / 487.7 MB, free: 15.07 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.01057, allocations: 169.8 kB / 487.9 MB, free: 14.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.01059, allocations: 27.78 kB / 487.9 MB, free: 14.88 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.01063, allocations: 37.59 kB / 487.9 MB, free: 14.83 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.842e-05/0.01071, allocations: 326.8 kB / 488.2 MB, free: 14.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.01072, allocations: 12 kB / 488.3 MB, free: 14.49 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.692e-05/0.01077, allocations: 73.31 kB / 488.3 MB, free: 14.39 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.586e-05/0.01086, allocations: 114.2 kB / 488.4 MB, free: 14.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01086, allocations: 1.094 kB / 488.4 MB, free: 14.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000147/0.01101, allocations: 124.5 kB / 488.6 MB, free: 14.12 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.01102, allocations: 8 kB / 488.6 MB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.01103, allocations: 7.938 kB / 488.6 MB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001516/0.01118, allocations: 35.48 kB / 488.6 MB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.566e-05/0.01124, allocations: 27.98 kB / 488.6 MB, free: 14.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006376/0.01188, allocations: 1.181 MB / 489.8 MB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.837e-05/0.01195, allocations: 23.83 kB / 489.8 MB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.01196, allocations: 5.031 kB / 489.9 MB, free: 12.74 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.049e-05/0.01204, allocations: 133.1 kB / 490 MB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.01206, allocations: 14.22 kB / 490 MB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.841e-05/0.01208, allocations: 17.45 kB / 490 MB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01208, allocations: 5.5 kB / 490 MB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.01209, allocations: 0 / 490 MB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.01209, allocations: 3.938 kB / 490 MB, free: 12.56 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.01233, allocations: 251.5 kB / 490.3 MB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01234, allocations: 0.8438 kB / 490.3 MB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.396e-05/0.01236, allocations: 11.98 kB / 490.3 MB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.783e-05/0.01245, allocations: 27.34 kB / 490.3 MB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.01245, allocations: 11.88 kB / 490.3 MB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005313/0.01299, allocations: 1.186 MB / 491.5 MB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01299, allocations: 0.625 kB / 491.5 MB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.0131, allocations: 179 kB / 491.7 MB, free: 10.76 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.584e-05/0.01313, allocations: 18.17 kB / 491.7 MB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.01314, allocations: 0 / 491.7 MB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.811e-05/0.01319, allocations: 7.984 kB / 491.7 MB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/0.01321, allocations: 0 / 491.7 MB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.01321, allocations: 8 kB / 491.7 MB, free: 10.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.925e-05/0.01325, allocations: 47.98 kB / 491.8 MB, free: 10.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01325, allocations: 0 / 491.8 MB, free: 10.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001933/0.01345, allocations: 55.84 kB / 491.8 MB, free: 10.62 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.497e-05/0.01353, allocations: 85.56 kB / 491.9 MB, free: 10.53 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.01374, allocations: 175.2 kB / 492.1 MB, free: 10.35 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.01374, allocations: 5.656 kB / 492.1 MB, free: 10.34 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.795e-05/0.01381, allocations: 139.4 kB / 492.2 MB, free: 10.19 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.01401, allocations: 25.86 kB / 492.2 MB, free: 10.17 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006403/0.01465, allocations: 375 kB / 492.6 MB, free: 9.777 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.571e-05/0.0147, allocations: 88.59 kB / 492.7 MB, free: 9.672 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.402e-05/0.01476, allocations: 12.98 kB / 492.7 MB, free: 9.664 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.802e-05/0.01484, allocations: 76.95 kB / 492.8 MB, free: 9.59 MB / 458.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01484, allocations: 0 / 492.8 MB, free: 9.59 MB / 458.7 MB Notification: Performance of Templates: time 0.003729/0.01857, allocations: 1.765 MB / 494.5 MB, free: 7.961 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7313596922904253]