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.001053/0.001053, allocations: 80.94 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.001053/0.001053, allocations: 177 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.9755/0.9755, 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 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.8328/0.8328, allocations: 154.6 MB / 414.8 MB, free: 500 kB / 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.302e-06/1.302e-06, allocations: 0 / 480.1 MB, free: 6.828 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.76e-05/1.891e-05, allocations: 2.312 kB / 480.1 MB, free: 6.824 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01209/0.01211, allocations: 15.03 MB / 495.1 MB, free: 7.797 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0159/0.02801, allocations: 12.85 MB / 0.496 GB, free: 11.01 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002642/0.03066, allocations: 151.5 kB / 0.4962 GB, free: 10.86 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001657/0.03231, allocations: 0.7292 MB / 0.4969 GB, free: 10.12 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006638/0.03895, allocations: 3.236 MB / 0.5001 GB, free: 6.918 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.04122, allocations: 1.314 MB / 0.5013 GB, free: 5.621 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.006114/0.04734, allocations: 5.982 MB / 0.5072 GB, free: 15.63 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003149/0.05049, allocations: 2.938 MB / 0.5101 GB, free: 12.59 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004726/0.05521, allocations: 3.68 MB / 0.5136 GB, free: 8.914 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002724/0.05794, allocations: 1.983 MB / 0.5156 GB, free: 6.938 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003706/0.05831, allocations: 364 kB / 0.5159 GB, free: 6.582 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006385/0.05895, allocations: 447.8 kB / 0.5164 GB, free: 6.145 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008543/0.0598, allocations: 1.288 MB / 0.5176 GB, free: 4.855 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001543/0.06134, allocations: 1.383 MB / 0.519 GB, free: 3.469 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00276/0.0641, allocations: 3.071 MB / 0.522 GB, free: 396 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.06411, allocations: 0 / 0.522 GB, free: 396 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.06411, allocations: 0 / 0.522 GB, free: 396 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.228e-05/0.06415, allocations: 3.984 kB / 0.522 GB, free: 392 kB / 490.7 MB 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.00467/0.06882, allocations: 4.36 MB / 0.5262 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.06886, allocations: 16.02 kB / 0.5262 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005249/0.07411, allocations: 2.013 MB / 0.5282 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002014/0.07612, allocations: 1.839 MB / 0.53 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002319/0.07635, allocations: 458.3 kB / 0.5304 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002946/0.07665, allocations: 248.4 kB / 0.5307 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003495/0.08014, allocations: 3.246 MB / 0.5338 GB, free: 3.848 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/0.08018, allocations: 0 / 0.5338 GB, free: 3.848 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002007/0.08038, allocations: 104 kB / 0.5339 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001238/0.0805, allocations: 172.8 kB / 0.5341 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.08188, allocations: 0.9868 MB / 0.5351 GB, free: 2.574 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00734/0.08922, allocations: 5.745 MB / 0.5407 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002349/0.09157, allocations: 1.615 MB / 0.5423 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004961/0.09207, allocations: 383.7 kB / 0.5426 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-05/0.09216, allocations: 29.31 kB / 0.5427 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001125/0.09328, allocations: 1.533 MB / 0.5442 GB, free: 8.996 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=163): time 2.816e-06/0.09329, allocations: 0 / 0.5442 GB, free: 8.996 MB / 0.5105 GB Notification: Performance of matching and sorting (n=163): time 0.00675/0.1, allocations: 3.335 MB / 0.5474 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001876/0.1002, allocations: 495.9 kB / 0.5479 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.1015, allocations: 1.691 MB / 0.5495 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001227/0.1016, allocations: 61.7 kB / 0.5496 GB, free: 3.285 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006226/0.1023, allocations: 1.047 MB / 0.5506 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003652/0.1026, allocations: 0.5498 MB / 0.5511 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004144/0.103, allocations: 303.3 kB / 0.5514 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.115e-05/0.1031, allocations: 305.1 kB / 0.5517 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004845/0.1036, allocations: 408.9 kB / 0.5521 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007212/0.1043, allocations: 1.064 MB / 0.5532 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/0.1058, allocations: 1.035 MB / 0.5542 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.1058, allocations: 0 / 0.5542 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.002773/0.1086, allocations: 1.909 MB / 0.556 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.667e-05/0.1087, allocations: 148.5 kB / 0.5562 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.1087, allocations: 4 kB / 0.5562 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002653/0.1113, allocations: 1.223 MB / 0.5574 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008501/0.1122, allocations: 339.5 kB / 0.5577 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007606/0.1198, allocations: 4.839 MB / 0.5624 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.1213, allocations: 254.8 kB / 0.5627 GB, free: 5.344 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/0.1215, allocations: 51.97 kB / 0.5627 GB, free: 5.293 MB / 0.5261 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 (136): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 5 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,63)} Notification: Performance of prepare postOptimizeDAE: time 0.0006891/0.1222, allocations: 218.4 kB / 0.5629 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003656/0.1225, allocations: 227.7 kB / 0.5631 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003558/0.1229, allocations: 302.3 kB / 0.5634 GB, free: 4.539 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.1229, allocations: 16 kB / 0.5634 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.1229, allocations: 0 / 0.5634 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/0.1229, allocations: 7.969 kB / 0.5635 GB, free: 4.516 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.1245, allocations: 1.206 MB / 0.5646 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1245, allocations: 0 / 0.5646 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008206/0.1253, allocations: 243.6 kB / 0.5649 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002612/0.1279, allocations: 1.194 MB / 0.566 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.653e-05/0.128, allocations: 35.97 kB / 0.5661 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007047/0.135, allocations: 4.662 MB / 0.5706 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.135, allocations: 0 / 0.5706 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002505/0.1376, allocations: 1.534 MB / 0.5721 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007817/0.1383, allocations: 365.8 kB / 0.5725 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003214/0.1387, allocations: 35.92 kB / 0.5725 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.1398, allocations: 147.8 kB / 0.5726 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005584/0.1404, allocations: 225.6 kB / 0.5729 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/0.1405, allocations: 35.97 kB / 0.5729 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001089/0.1416, allocations: 0.8961 MB / 0.5738 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1416, allocations: 0 / 0.5738 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002565/0.1442, allocations: 0.9747 MB / 0.5747 GB, free: 8.82 MB / 0.5417 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 (92): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,63)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003171/0.1445, allocations: 128.3 kB / 0.5748 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005205/0.1497, allocations: 2.245 MB / 0.577 GB, free: 6.332 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.251e-05/0.1497, allocations: 24.5 kB / 0.5771 GB, free: 6.309 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004201/0.1539, allocations: 1.417 MB / 0.5784 GB, free: 4.871 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003073/0.157, allocations: 1.035 MB / 0.5794 GB, free: 3.891 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00689/0.1639, allocations: 4.873 MB / 0.5842 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/0.1644, allocations: 0.6651 MB / 0.5849 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009596/0.1654, allocations: 348.4 kB / 0.5852 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001572/0.1669, allocations: 0.8113 MB / 0.586 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of SimCode: time 1.944e-06/0.1669, allocations: 0 / 0.586 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of Templates: time 0.0639/0.2308, allocations: 58.2 MB / 0.6428 GB, free: 4.117 MB / 0.6042 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.10552247799933]