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.001308/0.001308, allocations: 80.88 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.001002/0.001002, 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 0.9699/0.9699, allocations: 177.2 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7561/0.7561, allocations: 154.9 MB / 415.1 MB, free: 232 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 179] 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.563e-06/1.563e-06, allocations: 0 / 480.3 MB, free: 6.578 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.863e-05, allocations: 4.141 kB / 480.3 MB, free: 6.574 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.004737/0.004766, allocations: 2.537 MB / 482.9 MB, free: 4.07 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.006869, allocations: 1.007 MB / 483.9 MB, free: 3.074 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.007027, allocations: 4 kB / 483.9 MB, free: 3.07 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005122/0.007539, allocations: 99.98 kB / 484 MB, free: 2.977 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003948/0.007934, allocations: 140.5 kB / 484.1 MB, free: 2.84 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.008261, allocations: 104.4 kB / 484.2 MB, free: 2.738 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004233/0.008684, allocations: 328.3 kB / 484.5 MB, free: 2.418 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000309/0.008993, allocations: 194.4 kB / 484.7 MB, free: 2.23 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/0.00925, allocations: 171.5 kB / 484.9 MB, free: 2.062 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003298/0.00958, allocations: 119.7 kB / 485 MB, free: 1.945 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.021e-05/0.00962, allocations: 16.78 kB / 485 MB, free: 1.93 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/0.009844, allocations: 95.67 kB / 485.1 MB, free: 1.836 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.009955, allocations: 92.86 kB / 485.2 MB, free: 1.746 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.01007, allocations: 75.83 kB / 485.3 MB, free: 1.672 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004199/0.01049, allocations: 231.2 kB / 485.5 MB, free: 1.445 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.01049, allocations: 0.625 kB / 485.5 MB, free: 1.445 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.01049, allocations: 0 / 485.5 MB, free: 1.445 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.0105, allocations: 2.031 kB / 485.5 MB, free: 1.445 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.000805/0.0113, allocations: 419.3 kB / 485.9 MB, free: 1.012 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.01135, allocations: 8.031 kB / 485.9 MB, free: 1.004 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006058/0.01196, allocations: 118.3 kB / 486.1 MB, free: 0.8906 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.01227, allocations: 178.4 kB / 486.2 MB, free: 0.6914 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.01229, allocations: 14.09 kB / 486.2 MB, free: 0.6797 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.01233, allocations: 20.38 kB / 486.3 MB, free: 0.6602 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/0.01269, allocations: 272.1 kB / 486.5 MB, free: 364 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.0127, allocations: 192 / 486.5 MB, free: 364 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.01273, allocations: 13.02 kB / 486.5 MB, free: 352 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.714e-05/0.01278, allocations: 20.3 kB / 486.6 MB, free: 332 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.01293, allocations: 66.03 kB / 486.6 MB, free: 268 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.01406, allocations: 0.8862 MB / 487.5 MB, free: 15.33 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.01422, allocations: 65.27 kB / 487.6 MB, free: 15.26 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.873e-05/0.01425, allocations: 13.8 kB / 487.6 MB, free: 15.24 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.123e-06/0.01426, allocations: 0 / 487.6 MB, free: 15.24 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.01429, allocations: 44.12 kB / 487.6 MB, free: 15.19 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.01429, allocations: 0 / 487.6 MB, free: 15.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003228/0.01461, allocations: 95.28 kB / 487.7 MB, free: 15.09 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.01465, allocations: 51.41 kB / 487.8 MB, free: 15.03 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.01479, allocations: 178.6 kB / 487.9 MB, free: 14.84 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.0148, allocations: 26.7 kB / 488 MB, free: 14.81 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.128e-05/0.0149, allocations: 167.9 kB / 488.1 MB, free: 14.64 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.01492, allocations: 27.77 kB / 488.2 MB, free: 14.61 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.01498, allocations: 34.2 kB / 488.2 MB, free: 14.57 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.01508, allocations: 328.1 kB / 488.5 MB, free: 14.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.741e-05/0.01511, allocations: 11.98 kB / 488.5 MB, free: 14.23 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.361e-05/0.01518, allocations: 84.5 kB / 488.6 MB, free: 14.12 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.01529, allocations: 106.8 kB / 488.7 MB, free: 13.99 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.0153, allocations: 4 kB / 488.7 MB, free: 13.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002221/0.01552, allocations: 132.5 kB / 488.9 MB, free: 13.85 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.01554, allocations: 5.719 kB / 488.9 MB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.01554, allocations: 5.969 kB / 488.9 MB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001788/0.01572, allocations: 29.56 kB / 488.9 MB, free: 13.81 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.01585, allocations: 27.92 kB / 488.9 MB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006182/0.01647, allocations: 1.188 MB / 490.1 MB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.407e-05/0.01653, allocations: 23.83 kB / 490.1 MB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.01654, allocations: 5.438 kB / 490.1 MB, free: 12.47 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 7.323e-05/0.01661, allocations: 128.6 kB / 490.3 MB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.01663, allocations: 12.62 kB / 490.3 MB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.89e-05/0.01665, allocations: 21.45 kB / 490.3 MB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.01665, allocations: 1.031 kB / 490.3 MB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.01665, allocations: 0 / 490.3 MB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.01666, allocations: 3.938 kB / 490.3 MB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.01689, allocations: 249.8 kB / 490.5 MB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01689, allocations: 1.031 kB / 490.5 MB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.038e-05/0.01691, allocations: 15.92 kB / 490.6 MB, free: 12.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.936e-05/0.017, allocations: 31.2 kB / 490.6 MB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.01701, allocations: 3.938 kB / 490.6 MB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005122/0.01752, allocations: 1.186 MB / 491.8 MB, free: 10.69 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.01752, allocations: 4.375 kB / 491.8 MB, free: 10.69 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.01763, allocations: 179.1 kB / 492 MB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.01766, allocations: 12.86 kB / 492 MB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.01767, allocations: 3.984 kB / 492 MB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.748e-05/0.01773, allocations: 9.875 kB / 492 MB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.521e-05/0.01774, allocations: 3.938 kB / 492 MB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.01775, allocations: 4 kB / 492 MB, free: 10.46 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.152e-05/0.01779, allocations: 46.92 kB / 492 MB, free: 10.41 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01779, allocations: 1 kB / 492 MB, free: 10.41 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001871/0.01798, allocations: 55.84 kB / 492.1 MB, free: 10.36 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 9.925e-05/0.01807, allocations: 90.94 kB / 492.2 MB, free: 10.26 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.01826, allocations: 168.4 kB / 492.3 MB, free: 10.08 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.01827, allocations: 4 kB / 492.4 MB, free: 10.08 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.909e-05/0.01834, allocations: 140.2 kB / 492.5 MB, free: 9.926 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.01851, allocations: 31.48 kB / 492.5 MB, free: 9.898 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.02021, allocations: 366.9 kB / 492.9 MB, free: 9.52 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.885e-05/0.02027, allocations: 91.95 kB / 493 MB, free: 9.41 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.362e-05/0.02032, allocations: 8.406 kB / 493 MB, free: 9.406 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/0.0204, allocations: 79.34 kB / 493.1 MB, free: 9.328 MB / 458.7 MB Notification: Performance of SimCode: time 5.51e-07/0.0204, allocations: 0.7188 kB / 493.1 MB, free: 9.328 MB / 458.7 MB Notification: Performance of Templates: time 0.003567/0.02397, allocations: 1.772 MB / 494.8 MB, free: 7.695 MB / 458.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.6508837332949042]