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.0008992/0.0008992, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.0009751/0.0009751, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9812/0.9812, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.7877/0.7877, allocations: 154.6 MB / 415.6 MB, free: 0.4961 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.413e-06/1.413e-06, allocations: 0.5469 kB / 0.5216 GB, free: 1.871 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.914e-05, allocations: 4.562 kB / 0.5216 GB, free: 1.867 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01156/0.01159, allocations: 14.96 MB / 0.5362 GB, free: 2.859 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01475/0.02635, allocations: 12.56 MB / 0.5484 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003444/0.02979, allocations: 146.9 kB / 0.5486 GB, free: 6.184 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002784/0.03257, allocations: 0.7214 MB / 0.5493 GB, free: 5.457 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00896/0.04153, allocations: 3.243 MB / 0.5525 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003409/0.04494, allocations: 1.3 MB / 0.5537 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.008862/0.05381, allocations: 6.003 MB / 0.5596 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005023/0.05883, allocations: 2.841 MB / 0.5624 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007627/0.06646, allocations: 3.692 MB / 0.566 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004071/0.07053, allocations: 2.037 MB / 0.568 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.001267/0.07179, allocations: 368 kB / 0.5683 GB, free: 1.93 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.07337, allocations: 435.8 kB / 0.5687 GB, free: 1.504 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.001554/0.07492, allocations: 1.293 MB / 0.57 GB, free: 212 kB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.002795/0.07772, allocations: 1.38 MB / 0.5713 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.005104/0.08282, allocations: 3.072 MB / 0.5743 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.08283, allocations: 0 / 0.5743 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.363e-06/0.08283, allocations: 0.9375 kB / 0.5743 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.000163/0.08299, allocations: 3.938 kB / 0.5743 GB, free: 11.73 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.007762/0.09075, allocations: 4.57 MB / 0.5788 GB, free: 7.09 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.09079, allocations: 9.5 kB / 0.5788 GB, free: 7.082 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008219/0.09901, allocations: 2.331 MB / 0.5811 GB, free: 4.766 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003679/0.1027, allocations: 2.048 MB / 0.5831 GB, free: 2.645 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002854/0.103, allocations: 474.3 kB / 0.5835 GB, free: 2.117 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005039/0.1035, allocations: 244.3 kB / 0.5838 GB, free: 1.879 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004122/0.1076, allocations: 3.206 MB / 0.5869 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.828e-05/0.1076, allocations: 0 / 0.5869 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002166/0.1079, allocations: 112 kB / 0.587 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001481/0.108, allocations: 172.8 kB / 0.5872 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.1099, allocations: 1.2 MB / 0.5883 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01085/0.1208, allocations: 7.45 MB / 0.5956 GB, free: 5.332 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002988/0.1238, allocations: 1.75 MB / 0.5973 GB, free: 3.57 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005569/0.1243, allocations: 454.3 kB / 0.5978 GB, free: 3.129 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.115e-05/0.1244, allocations: 29.31 kB / 0.5978 GB, free: 3.102 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001193/0.1256, allocations: 1.591 MB / 0.5993 GB, free: 1.266 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=163): time 4.599e-06/0.1256, allocations: 0 / 0.5993 GB, free: 1.266 MB / 0.5573 GB Notification: Performance of matching and sorting (n=250): time 0.01425/0.1399, allocations: 6.581 MB / 0.6058 GB, free: 10.66 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001691/0.14, allocations: 0.4889 MB / 0.6062 GB, free: 10.05 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.1415, allocations: 1.823 MB / 0.608 GB, free: 8.215 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002023/0.1417, allocations: 77.7 kB / 0.6081 GB, free: 8.133 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008887/0.1426, allocations: 1.515 MB / 0.6096 GB, free: 6.605 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000571/0.1432, allocations: 0.8674 MB / 0.6104 GB, free: 5.73 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000793/0.144, allocations: 422.4 kB / 0.6108 GB, free: 5.309 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1441, allocations: 480.7 kB / 0.6113 GB, free: 4.836 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007169/0.1448, allocations: 0.6219 MB / 0.6119 GB, free: 4.18 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.1458, allocations: 1.404 MB / 0.6133 GB, free: 2.535 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.1474, allocations: 1.558 MB / 0.6148 GB, free: 0.8164 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.1474, allocations: 0 / 0.6148 GB, free: 0.8164 MB / 0.573 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.005775/0.1532, allocations: 3.409 MB / 0.6181 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.568e-05/0.1533, allocations: 156.5 kB / 0.6183 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.1533, allocations: 7.938 kB / 0.6183 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006142/0.1594, allocations: 2.66 MB / 0.6209 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.1606, allocations: 395.4 kB / 0.6212 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01561/0.1762, allocations: 10.74 MB / 0.6317 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/0.178, allocations: 215.7 kB / 0.6319 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.1781, allocations: 67.98 kB / 0.632 GB, free: 14.84 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.00074/0.1789, allocations: 290.2 kB / 0.6323 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004888/0.1793, allocations: 394.1 kB / 0.6327 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003432/0.1797, allocations: 361.2 kB / 0.633 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.1797, allocations: 24 kB / 0.633 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.74e-05/0.1797, allocations: 12 kB / 0.633 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.1798, allocations: 15.95 kB / 0.6331 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.1818, allocations: 1.717 MB / 0.6347 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/0.1818, allocations: 4 kB / 0.6347 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008419/0.1827, allocations: 307.5 kB / 0.635 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006141/0.1888, allocations: 2.609 MB / 0.6376 GB, free: 9.062 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001924/0.189, allocations: 55.97 kB / 0.6376 GB, free: 9.008 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01539/0.2044, allocations: 10.52 MB / 0.6479 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2044, allocations: 0 / 0.6479 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005485/0.2099, allocations: 3.045 MB / 0.6509 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/0.2109, allocations: 0.5329 MB / 0.6514 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002922/0.2112, allocations: 55.97 kB / 0.6515 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.2123, allocations: 199.8 kB / 0.6516 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007909/0.2131, allocations: 358.5 kB / 0.652 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.2132, allocations: 55.97 kB / 0.652 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001228/0.2145, allocations: 1.027 MB / 0.653 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2145, allocations: 0 / 0.653 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002071/0.2165, allocations: 1.047 MB / 0.6541 GB, free: 7.898 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.0002572/0.2168, allocations: 163.1 kB / 0.6542 GB, free: 7.727 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.007842/0.2246, allocations: 3.894 MB / 0.658 GB, free: 3.695 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.2247, allocations: 3.938 kB / 0.658 GB, free: 3.691 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00711/0.2318, allocations: 2.816 MB / 0.6608 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002987/0.2348, allocations: 1.1 MB / 0.6619 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00828/0.243, allocations: 5.588 MB / 0.6673 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007894/0.2438, allocations: 0.7836 MB / 0.6681 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001638/0.2455, allocations: 351.5 kB / 0.6684 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001785/0.2472, allocations: 0.9583 MB / 0.6693 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of SimCode: time 1.643e-06/0.2472, allocations: 0 / 0.6693 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of Templates: time 0.2888/0.5361, allocations: 79.59 MB / 0.7471 GB, free: 128.4 MB / 0.6355 GB " [Timeout remaining time 659] 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: 6.036258578300476]