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.001801/0.001801, allocations: 85.48 kB / 19.44 MB, free: 348 kB / 13.93 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.00203/0.00203, allocations: 177.6 kB / 22.76 MB, free: 1.664 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.596/1.596, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 1.328/1.328, allocations: 154.6 MB / 414.2 MB, free: 0.6406 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 178] 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.974e-06/1.974e-06, allocations: 0 / 0.5196 GB, free: 2.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.244e-05/3.442e-05, allocations: 2.859 kB / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03642/0.03646, allocations: 22.67 MB / 0.5418 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0326/0.06906, allocations: 17.8 MB / 0.5592 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003088/0.07214, allocations: 151.5 kB / 0.5593 GB, free: 9.887 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.01273/0.08487, allocations: 4.28 MB / 0.5635 GB, free: 5.605 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.01228/0.09716, allocations: 3.711 MB / 0.5671 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.003766/0.1009, allocations: 1.311 MB / 0.5684 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.009912/0.1108, allocations: 5.98 MB / 0.5742 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005214/0.116, allocations: 2.845 MB / 0.577 GB, free: 7.699 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007166/0.1232, allocations: 3.505 MB / 0.5804 GB, free: 4.191 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005343/0.1286, allocations: 2.131 MB / 0.5825 GB, free: 2.062 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.001262/0.1298, allocations: 368.9 kB / 0.5829 GB, free: 1.703 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002896/0.1327, allocations: 0.9667 MB / 0.5838 GB, free: 0.7344 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.001874/0.1346, allocations: 1.298 MB / 0.5851 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.003254/0.1378, allocations: 1.383 MB / 0.5864 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.008678/0.1465, allocations: 5.269 MB / 0.5916 GB, free: 8.762 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.1465, allocations: 4 kB / 0.5916 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1465, allocations: 1.188 kB / 0.5916 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001666/0.1467, allocations: 0 / 0.5916 GB, free: 8.758 MB / 0.5573 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.01281/0.1595, allocations: 4.969 MB / 0.5964 GB, free: 3.715 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.1595, allocations: 8.031 kB / 0.5964 GB, free: 3.707 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0149/0.1744, allocations: 3.073 MB / 0.5994 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00623/0.1807, allocations: 2.212 MB / 0.6016 GB, free: 14.34 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007199/0.1814, allocations: 462.3 kB / 0.602 GB, free: 13.83 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001163/0.1826, allocations: 252.3 kB / 0.6023 GB, free: 13.58 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009605/0.1922, allocations: 4.416 MB / 0.6066 GB, free: 8.73 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.737e-05/0.1922, allocations: 0 / 0.6066 GB, free: 8.73 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003657/0.1926, allocations: 108 kB / 0.6067 GB, free: 8.625 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002482/0.1928, allocations: 168.8 kB / 0.6069 GB, free: 8.457 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008708/0.2015, allocations: 2.705 MB / 0.6095 GB, free: 5.738 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02263/0.2242, allocations: 9.005 MB / 0.6183 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007724/0.2319, allocations: 2.241 MB / 0.6205 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002513/0.2344, allocations: 0.8184 MB / 0.6213 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001611/0.2346, allocations: 37.3 kB / 0.6213 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003787/0.2384, allocations: 2.008 MB / 0.6233 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=163): time 3.707e-06/0.2384, allocations: 0 / 0.6233 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of matching and sorting (n=250): time 0.03975/0.2781, allocations: 9.349 MB / 0.6324 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005102/0.2786, allocations: 0.4928 MB / 0.6329 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003974/0.2826, allocations: 2.445 MB / 0.6353 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0005122/0.2831, allocations: 77.7 kB / 0.6354 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001832/0.2849, allocations: 1.629 MB / 0.6369 GB, free: 9.066 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001473/0.2864, allocations: 0.9145 MB / 0.6378 GB, free: 8.145 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001121/0.2875, allocations: 482.7 kB / 0.6383 GB, free: 7.664 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002528/0.2878, allocations: 480.7 kB / 0.6388 GB, free: 7.191 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004095/0.2919, allocations: 1.266 MB / 0.64 GB, free: 5.891 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004862/0.2967, allocations: 2.111 MB / 0.6421 GB, free: 3.535 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008511/0.3052, allocations: 3.057 MB / 0.645 GB, free: 324 kB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.3053, allocations: 0 / 0.645 GB, free: 324 kB / 0.6042 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01771/0.323, allocations: 4.873 MB / 0.6498 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001731/0.3231, allocations: 152.4 kB / 0.6499 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.3232, allocations: 4 kB / 0.6499 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01477/0.3379, allocations: 2.992 MB / 0.6529 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002495/0.3404, allocations: 391.4 kB / 0.6532 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04187/0.3823, allocations: 13.58 MB / 0.6665 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003737/0.386, allocations: 211.8 kB / 0.6667 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006025/0.3866, allocations: 87.97 kB / 0.6668 GB, free: 9.684 MB / 0.6355 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.001865/0.3885, allocations: 466.3 kB / 0.6672 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001312/0.3898, allocations: 394.1 kB / 0.6676 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.3912, allocations: 361.2 kB / 0.668 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.309e-05/0.3912, allocations: 27.94 kB / 0.668 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.487e-05/0.3913, allocations: 8 kB / 0.668 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.558e-05/0.3913, allocations: 11.95 kB / 0.668 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005205/0.3965, allocations: 2.684 MB / 0.6706 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/0.3965, allocations: 0 / 0.6706 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00206/0.3986, allocations: 303.6 kB / 0.6709 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0146/0.4132, allocations: 2.937 MB / 0.6738 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005344/0.4137, allocations: 55.95 kB / 0.6738 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2807/0.6944, allocations: 13.33 MB / 0.6869 GB, free: 179.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6944, allocations: 3.188 kB / 0.6869 GB, free: 179.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/0.7079, allocations: 4.445 MB / 0.6912 GB, free: 178.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002731/0.7106, allocations: 0.5938 MB / 0.6918 GB, free: 177.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007693/0.7114, allocations: 43.41 kB / 0.6918 GB, free: 177.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002746/0.7142, allocations: 205.9 kB / 0.692 GB, free: 177.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001117/0.7153, allocations: 381.4 kB / 0.6924 GB, free: 177.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002351/0.7155, allocations: 72.23 kB / 0.6924 GB, free: 177.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001822/0.7173, allocations: 1.468 MB / 0.6939 GB, free: 177.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7173, allocations: 0.7188 kB / 0.6939 GB, free: 177.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002966/0.7203, allocations: 1.041 MB / 0.6949 GB, free: 177.1 MB / 0.6355 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.000333/0.7206, allocations: 165.2 kB / 0.6951 GB, free: 176.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01855/0.7392, allocations: 5.264 MB / 0.7002 GB, free: 175 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/0.7392, allocations: 5.938 kB / 0.7002 GB, free: 175 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0162/0.7554, allocations: 3.517 MB / 0.7036 GB, free: 173.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005612/0.761, allocations: 1.099 MB / 0.7047 GB, free: 173.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/0.7785, allocations: 6.043 MB / 0.7106 GB, free: 170.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003101/0.7816, allocations: 1.632 MB / 0.7122 GB, free: 170.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003246/0.7848, allocations: 401.4 kB / 0.7126 GB, free: 170.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/0.7859, allocations: 182.4 kB / 0.7128 GB, free: 170.4 MB / 0.6355 GB Notification: Performance of SimCode: time 2.264e-06/0.7859, allocations: 0 / 0.7128 GB, free: 170.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.1387/0.9246, allocations: 73.57 MB / 0.7846 GB, free: 111.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: 9.494629604043439]