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.001058/0.001058, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00122/0.00122, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.054/1.054, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.7792/0.7792, allocations: 154.6 MB / 414.9 MB, free: 0.6797 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 2.124e-06/2.124e-06, allocations: 0 / 0.5204 GB, free: 2.508 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.179e-05/3.391e-05, allocations: 5.922 kB / 0.5204 GB, free: 2.504 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01816/0.0182, allocations: 22.77 MB / 0.5426 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01899/0.03719, allocations: 17.84 MB / 0.56 GB, free: 9.852 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003154/0.04034, allocations: 150.8 kB / 0.5602 GB, free: 9.703 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.006992/0.04734, allocations: 4.285 MB / 0.5643 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.00924/0.05658, allocations: 3.695 MB / 0.568 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.05942, allocations: 1.32 MB / 0.5692 GB, free: 452 kB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.006859/0.06628, allocations: 5.974 MB / 0.5751 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003883/0.07016, allocations: 2.851 MB / 0.5779 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004748/0.07491, allocations: 3.508 MB / 0.5813 GB, free: 4.008 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003516/0.07842, allocations: 2.136 MB / 0.5834 GB, free: 1.875 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.001375/0.0798, allocations: 368 kB / 0.5837 GB, free: 1.516 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002794/0.08259, allocations: 0.9667 MB / 0.5847 GB, free: 0.5469 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.001226/0.08382, allocations: 1.297 MB / 0.5859 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001983/0.0858, allocations: 1.385 MB / 0.5873 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.004539/0.09034, allocations: 3.41 MB / 0.5906 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.09035, allocations: 0 / 0.5906 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.753e-06/0.09035, allocations: 0.9062 kB / 0.5906 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.348e-05/0.09043, allocations: 0 / 0.5906 GB, free: 10.44 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.005674/0.09611, allocations: 4.714 MB / 0.5952 GB, free: 5.648 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.09615, allocations: 8.594 kB / 0.5952 GB, free: 5.641 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007128/0.1033, allocations: 3.073 MB / 0.5982 GB, free: 2.562 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003233/0.1065, allocations: 2.161 MB / 0.6003 GB, free: 336 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002912/0.1068, allocations: 466.3 kB / 0.6008 GB, free: 15.81 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000493/0.1073, allocations: 256.3 kB / 0.601 GB, free: 15.56 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005018/0.1123, allocations: 4.054 MB / 0.605 GB, free: 11.07 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/0.1123, allocations: 3.938 kB / 0.605 GB, free: 11.06 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002381/0.1126, allocations: 112 kB / 0.6051 GB, free: 10.95 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001397/0.1127, allocations: 168.8 kB / 0.6053 GB, free: 10.79 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002656/0.1154, allocations: 1.551 MB / 0.6068 GB, free: 9.215 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01139/0.1268, allocations: 7.96 MB / 0.6146 GB, free: 1.129 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003091/0.1299, allocations: 1.92 MB / 0.6164 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007694/0.1306, allocations: 0.5375 MB / 0.617 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.842e-05/0.1307, allocations: 37.3 kB / 0.617 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001555/0.1323, allocations: 1.664 MB / 0.6186 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=163): time 4.238e-06/0.1323, allocations: 4 kB / 0.6186 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of matching and sorting (n=250): time 0.01555/0.1478, allocations: 7.517 MB / 0.626 GB, free: 5.164 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/0.148, allocations: 0.4928 MB / 0.6264 GB, free: 4.559 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.1497, allocations: 1.878 MB / 0.6283 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002313/0.15, allocations: 77.7 kB / 0.6283 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008979/0.1509, allocations: 1.511 MB / 0.6298 GB, free: 1.059 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005745/0.1515, allocations: 0.8637 MB / 0.6307 GB, free: 192 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005607/0.152, allocations: 410.7 kB / 0.6311 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1521, allocations: 480.7 kB / 0.6315 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.1535, allocations: 0.7742 MB / 0.6323 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.1549, allocations: 1.562 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002255/0.1572, allocations: 1.832 MB / 0.6356 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.938e-06/0.1572, allocations: 4 kB / 0.6356 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.007066/0.1642, allocations: 3.757 MB / 0.6393 GB, free: 6.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.163e-05/0.1643, allocations: 148.4 kB / 0.6394 GB, free: 6.645 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.1644, allocations: 8.344 kB / 0.6394 GB, free: 6.637 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006858/0.1712, allocations: 2.734 MB / 0.6421 GB, free: 3.898 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.1725, allocations: 387.5 kB / 0.6424 GB, free: 3.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01803/0.1906, allocations: 11.35 MB / 0.6535 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/0.1927, allocations: 207.8 kB / 0.6537 GB, free: 7.754 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/0.1929, allocations: 91.97 kB / 0.6538 GB, free: 7.664 MB / 0.6198 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.000881/0.1938, allocations: 298.2 kB / 0.6541 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006046/0.1944, allocations: 402 kB / 0.6545 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003543/0.1948, allocations: 357.2 kB / 0.6548 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.1948, allocations: 27.94 kB / 0.6549 GB, free: 6.578 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.355e-05/0.1948, allocations: 12 kB / 0.6549 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.1949, allocations: 11.95 kB / 0.6549 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002623/0.1975, allocations: 2.09 MB / 0.6569 GB, free: 4.422 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.1975, allocations: 0 / 0.6569 GB, free: 4.422 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000888/0.1984, allocations: 299.6 kB / 0.6572 GB, free: 4.129 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0068/0.2052, allocations: 2.676 MB / 0.6598 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003876/0.2056, allocations: 51.97 kB / 0.6599 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01712/0.2227, allocations: 11.12 MB / 0.6707 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2227, allocations: 0 / 0.6707 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006554/0.2292, allocations: 3.35 MB / 0.674 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/0.2305, allocations: 0.5836 MB / 0.6746 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003577/0.2308, allocations: 44 kB / 0.6746 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.232, allocations: 207.8 kB / 0.6748 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008727/0.2329, allocations: 358.5 kB / 0.6752 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/0.233, allocations: 71.97 kB / 0.6752 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001192/0.2342, allocations: 1.133 MB / 0.6763 GB, free: 244 kB / 0.6355 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2342, allocations: 0 / 0.6763 GB, free: 244 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.2399/0.4741, allocations: 1.035 MB / 0.6773 GB, free: 182.2 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.0004238/0.4745, allocations: 163.6 kB / 0.6775 GB, free: 182.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.008739/0.4832, allocations: 4.185 MB / 0.6816 GB, free: 181.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.4832, allocations: 2.938 kB / 0.6816 GB, free: 181.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.007124/0.4904, allocations: 2.939 MB / 0.6845 GB, free: 180.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/0.4935, allocations: 1.102 MB / 0.6855 GB, free: 180.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008474/0.502, allocations: 5.659 MB / 0.6911 GB, free: 178.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008671/0.5028, allocations: 0.7816 MB / 0.6918 GB, free: 178.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001821/0.5047, allocations: 409.2 kB / 0.6922 GB, free: 178.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005165/0.5052, allocations: 178.4 kB / 0.6924 GB, free: 178.1 MB / 0.6355 GB Notification: Performance of SimCode: time 2.154e-06/0.5052, allocations: 0 / 0.6924 GB, free: 178.1 MB / 0.6355 GB Notification: Performance of Templates: time 0.07737/0.5825, allocations: 73.63 MB / 0.7643 GB, free: 133.5 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.0789696760475636]