Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.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.0009101/0.0009101, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.0009858/0.0009858, allocations: 165 kB / 23.27 MB, free: 1.219 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.9681/0.9681, allocations: 177.2 MB / 203.7 MB, free: 5.5 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.763/0.763, allocations: 154.6 MB / 414.8 MB, free: 0.5391 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.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.5208 GB, free: 1.859 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.442e-05/1.589e-05, allocations: 4.141 kB / 0.5208 GB, free: 1.855 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01076/0.01078, allocations: 14.96 MB / 0.5354 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01356/0.02434, allocations: 12.56 MB / 0.5477 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001763/0.0261, allocations: 150.8 kB / 0.5478 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.02745, allocations: 0.7247 MB / 0.5485 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.005617/0.03307, allocations: 3.247 MB / 0.5517 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.03509, allocations: 1.304 MB / 0.553 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.005392/0.04048, allocations: 5.999 MB / 0.5588 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002615/0.04309, allocations: 2.849 MB / 0.5616 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003279/0.04637, allocations: 3.685 MB / 0.5652 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001835/0.04821, allocations: 2.032 MB / 0.5672 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0004081/0.04861, allocations: 368 kB / 0.5675 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000625/0.04924, allocations: 440.4 kB / 0.568 GB, free: 1.484 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0009368/0.05018, allocations: 1.289 MB / 0.5692 GB, free: 196 kB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001018/0.05119, allocations: 1.384 MB / 0.5706 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002115/0.05331, allocations: 3.071 MB / 0.5736 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.05331, allocations: 3.984 kB / 0.5736 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.233e-06/0.05332, allocations: 0.9375 kB / 0.5736 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.144e-05/0.05335, allocations: 0 / 0.5736 GB, free: 11.72 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.004392/0.05774, allocations: 4.575 MB / 0.578 GB, free: 7.07 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.05777, allocations: 8.031 kB / 0.578 GB, free: 7.062 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005204/0.06298, allocations: 2.335 MB / 0.5803 GB, free: 4.742 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/0.0652, allocations: 2.051 MB / 0.5823 GB, free: 2.617 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/0.06542, allocations: 462.3 kB / 0.5828 GB, free: 2.102 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000289/0.06571, allocations: 256.3 kB / 0.583 GB, free: 1.852 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00307/0.06878, allocations: 3.199 MB / 0.5861 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.0688, allocations: 7.938 kB / 0.5861 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002012/0.06901, allocations: 104 kB / 0.5862 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/0.06913, allocations: 172.8 kB / 0.5864 GB, free: 14.1 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.07057, allocations: 1.2 MB / 0.5876 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008067/0.07864, allocations: 7.442 MB / 0.5949 GB, free: 5.316 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/0.08095, allocations: 1.754 MB / 0.5966 GB, free: 3.551 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004765/0.08143, allocations: 454.3 kB / 0.597 GB, free: 3.109 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-05/0.08152, allocations: 37.31 kB / 0.597 GB, free: 3.074 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.08256, allocations: 1.589 MB / 0.5986 GB, free: 1.238 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=163): time 2.395e-06/0.08257, allocations: 4 kB / 0.5986 GB, free: 1.234 MB / 0.5573 GB Notification: Performance of matching and sorting (n=250): time 0.01214/0.09471, allocations: 6.569 MB / 0.605 GB, free: 10.64 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003983/0.09511, allocations: 0.4928 MB / 0.6055 GB, free: 10.03 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.09631, allocations: 1.823 MB / 0.6073 GB, free: 8.191 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001334/0.09644, allocations: 73.7 kB / 0.6073 GB, free: 8.113 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000752/0.09719, allocations: 1.515 MB / 0.6088 GB, free: 6.586 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004722/0.09766, allocations: 0.8753 MB / 0.6097 GB, free: 5.703 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000492/0.09816, allocations: 418.4 kB / 0.6101 GB, free: 5.285 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.353e-05/0.09825, allocations: 480.7 kB / 0.6105 GB, free: 4.812 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006445/0.09889, allocations: 0.618 MB / 0.6111 GB, free: 4.16 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.1001, allocations: 1.408 MB / 0.6125 GB, free: 2.512 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.1016, allocations: 1.562 MB / 0.614 GB, free: 0.7891 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1016, allocations: 0 / 0.614 GB, free: 0.7891 MB / 0.573 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.004788/0.1063, allocations: 3.405 MB / 0.6174 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.174e-05/0.1064, allocations: 152.4 kB / 0.6175 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.1064, allocations: 11.94 kB / 0.6175 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005753/0.1122, allocations: 2.668 MB / 0.6201 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009603/0.1131, allocations: 387.5 kB / 0.6205 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/0.1273, allocations: 10.74 MB / 0.631 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.1288, allocations: 223.7 kB / 0.6312 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.129, allocations: 71.97 kB / 0.6313 GB, free: 14.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.0006769/0.1296, allocations: 298.1 kB / 0.6315 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004083/0.13, allocations: 390.1 kB / 0.6319 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/0.1303, allocations: 365.2 kB / 0.6323 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.1303, allocations: 24 kB / 0.6323 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.164e-05/0.1304, allocations: 8 kB / 0.6323 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.1304, allocations: 11.95 kB / 0.6323 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/0.1326, allocations: 1.721 MB / 0.634 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.1326, allocations: 0 / 0.634 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007363/0.1333, allocations: 303.5 kB / 0.6343 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00539/0.1387, allocations: 2.617 MB / 0.6368 GB, free: 9.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/0.1389, allocations: 51.97 kB / 0.6369 GB, free: 8.969 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01392/0.1528, allocations: 10.53 MB / 0.6472 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1528, allocations: 0 / 0.6472 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00504/0.1578, allocations: 3.045 MB / 0.6501 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007881/0.1586, allocations: 0.5368 MB / 0.6507 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/0.1588, allocations: 44 kB / 0.6507 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009997/0.1598, allocations: 203.8 kB / 0.6509 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005792/0.1604, allocations: 366.4 kB / 0.6513 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.1605, allocations: 55.97 kB / 0.6513 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007566/0.1613, allocations: 1.031 MB / 0.6523 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.1613, allocations: 0 / 0.6523 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001893/0.1632, allocations: 1.035 MB / 0.6533 GB, free: 7.848 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002596/0.1634, allocations: 167 kB / 0.6535 GB, free: 7.672 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.007274/0.1707, allocations: 3.902 MB / 0.6573 GB, free: 3.633 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/0.1707, allocations: 7.938 kB / 0.6573 GB, free: 3.625 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.005637/0.1764, allocations: 2.812 MB / 0.66 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/0.1785, allocations: 1.095 MB / 0.6611 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006758/0.1853, allocations: 5.588 MB / 0.6666 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006506/0.1859, allocations: 0.7875 MB / 0.6673 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009447/0.1869, allocations: 359.5 kB / 0.6677 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001912/0.1888, allocations: 0.9545 MB / 0.6686 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of SimCode: time 1.433e-06/0.1888, allocations: 4 kB / 0.6686 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of Templates: time 0.2875/0.4762, allocations: 78.17 MB / 0.745 GB, free: 129.9 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.673331944737583]