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.0008287/0.0008287, allocations: 77.06 kB / 9.98 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001311/0.002139, allocations: 444 kB / 10.41 MB, free: 276 kB / 10.45 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.0009097/0.0009097, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001085/0.001995, allocations: 475.6 kB / 11.79 MB, free: 2.371 MB / 13.93 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.9393/0.9393, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09887/1.038, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7627/0.7627, allocations: 155.3 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2409/1.004, allocations: 49.13 MB / 448.6 MB, free: 5.922 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.242e-06/1.242e-06, allocations: 0 / 449.9 MB, free: 4.641 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102e-05/1.226e-05, allocations: 2.312 kB / 449.9 MB, free: 4.637 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.002983/0.002995, allocations: 2.631 MB / 452.6 MB, free: 2.039 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.004406, allocations: 1.02 MB / 453.6 MB, free: 1.031 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.004513, allocations: 4.547 kB / 453.6 MB, free: 1.027 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.004842, allocations: 124.2 kB / 453.7 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.00506, allocations: 159.8 kB / 453.9 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.005271, allocations: 110.2 kB / 454 MB, free: 0.6523 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.005599, allocations: 358.5 kB / 454.3 MB, free: 312 kB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.005838, allocations: 174 kB / 454.5 MB, free: 140 kB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.006074, allocations: 200.3 kB / 454.7 MB, free: 15.94 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.006378, allocations: 136.3 kB / 454.8 MB, free: 15.8 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.006406, allocations: 20 kB / 454.8 MB, free: 15.79 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.006572, allocations: 93 kB / 454.9 MB, free: 15.7 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.972e-05/0.006642, allocations: 71.78 kB / 455 MB, free: 15.62 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.768e-05/0.0067, allocations: 67.88 kB / 455.1 MB, free: 15.56 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.00694, allocations: 212.1 kB / 455.3 MB, free: 15.35 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.00695, allocations: 0 / 455.3 MB, free: 15.35 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.006951, allocations: 5.906 kB / 455.3 MB, free: 15.35 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.006959, allocations: 0 / 455.3 MB, free: 15.35 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.0005459/0.007505, allocations: 465.9 kB / 455.7 MB, free: 14.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.007538, allocations: 8.594 kB / 455.7 MB, free: 14.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004195/0.007957, allocations: 191.1 kB / 455.9 MB, free: 14.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.008151, allocations: 170.7 kB / 456.1 MB, free: 14.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.008167, allocations: 20.73 kB / 456.1 MB, free: 14.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.008188, allocations: 17.44 kB / 456.1 MB, free: 14.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.00841, allocations: 274.5 kB / 456.4 MB, free: 14.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.008419, allocations: 192 / 456.4 MB, free: 14.12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.008436, allocations: 11.25 kB / 456.4 MB, free: 14.12 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.837e-05/0.008464, allocations: 24.3 kB / 456.4 MB, free: 14.09 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.509e-05/0.00854, allocations: 61.67 kB / 456.5 MB, free: 14.04 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006978/0.009237, allocations: 0.9026 MB / 457.4 MB, free: 13.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.009361, allocations: 58.73 kB / 457.4 MB, free: 13.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.157e-05/0.009382, allocations: 18.28 kB / 457.5 MB, free: 13 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-06/0.009389, allocations: 4 kB / 457.5 MB, free: 13 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.009412, allocations: 34.56 kB / 457.5 MB, free: 12.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.009413, allocations: 0.8438 kB / 457.5 MB, free: 12.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002149/0.009628, allocations: 91.11 kB / 457.6 MB, free: 12.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.009651, allocations: 52.19 kB / 457.6 MB, free: 12.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.763e-05/0.009749, allocations: 187.1 kB / 457.8 MB, free: 12.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.00976, allocations: 26.33 kB / 457.9 MB, free: 12.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.00982, allocations: 171.9 kB / 458 MB, free: 12.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/0.009833, allocations: 25.38 kB / 458 MB, free: 12.37 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.00987, allocations: 29.7 kB / 458.1 MB, free: 12.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.217e-05/0.009942, allocations: 330.8 kB / 458.4 MB, free: 12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.781e-05/0.00996, allocations: 12 kB / 458.4 MB, free: 11.99 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.774e-05/0.01001, allocations: 78.5 kB / 458.5 MB, free: 11.89 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.474e-05/0.01009, allocations: 116.8 kB / 458.6 MB, free: 11.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.0101, allocations: 5.062 kB / 458.6 MB, free: 11.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000128/0.01022, allocations: 127.4 kB / 458.7 MB, free: 11.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.01024, allocations: 8.609 kB / 458.7 MB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01024, allocations: 4.625 kB / 458.7 MB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001321/0.01037, allocations: 26.94 kB / 458.8 MB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.204e-05/0.01044, allocations: 35.92 kB / 458.8 MB, free: 11.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005392/0.01098, allocations: 1.186 MB / 460 MB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.818e-05/0.01103, allocations: 23.83 kB / 460 MB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.01104, allocations: 9 kB / 460 MB, free: 10.21 MB / 442.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 6.56e-05/0.01111, allocations: 133.1 kB / 460.2 MB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.902e-05/0.01113, allocations: 12 kB / 460.2 MB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.367e-05/0.01114, allocations: 16.45 kB / 460.2 MB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.01114, allocations: 4 kB / 460.2 MB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.01114, allocations: 0 / 460.2 MB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01115, allocations: 5.688 kB / 460.2 MB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.01135, allocations: 251.9 kB / 460.4 MB, free: 9.773 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.01135, allocations: 0 / 460.4 MB, free: 9.773 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.086e-05/0.01137, allocations: 11.98 kB / 460.4 MB, free: 9.762 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.877e-05/0.01139, allocations: 11.91 kB / 460.5 MB, free: 9.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.458e-05/0.01148, allocations: 38.66 kB / 460.5 MB, free: 9.711 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-06/0.01148, allocations: 0.75 kB / 460.5 MB, free: 9.711 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004778/0.01196, allocations: 1.189 MB / 461.7 MB, free: 8.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01196, allocations: 4.703 kB / 461.7 MB, free: 8.426 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.01207, allocations: 175.1 kB / 461.9 MB, free: 8.234 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-06/0.01207, allocations: 1.344 kB / 461.9 MB, free: 8.234 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.365e-05/0.01213, allocations: 11.98 kB / 461.9 MB, free: 8.223 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.01214, allocations: 4 kB / 461.9 MB, free: 8.219 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.01215, allocations: 1.875 kB / 461.9 MB, free: 8.219 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.772e-05/0.01218, allocations: 44.81 kB / 461.9 MB, free: 8.172 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01218, allocations: 0.5938 kB / 461.9 MB, free: 8.172 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001707/0.01235, allocations: 57.27 kB / 462 MB, free: 8.117 MB / 442.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 7.262e-05/0.01243, allocations: 80.41 kB / 462.1 MB, free: 8.027 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.0126, allocations: 181.4 kB / 462.2 MB, free: 7.836 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.01261, allocations: 4.938 kB / 462.2 MB, free: 7.832 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.922e-05/0.01268, allocations: 136 kB / 462.4 MB, free: 7.684 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.01293, allocations: 275.5 kB / 462.6 MB, free: 7.367 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.01449, allocations: 368 kB / 463 MB, free: 6.984 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.79e-05/0.01454, allocations: 87.97 kB / 463.1 MB, free: 6.879 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.797e-05/0.01459, allocations: 13.09 kB / 463.1 MB, free: 6.871 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.228e-05/0.01466, allocations: 76.36 kB / 463.2 MB, free: 6.797 MB / 442.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01466, allocations: 0 / 463.2 MB, free: 6.797 MB / 442.7 MB Notification: Performance of Templates: time 0.003482/0.01814, allocations: 1.764 MB / 464.9 MB, free: 5.168 MB / 442.7 MB " [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: 3.5336922090500593]