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.001446/0.001446, allocations: 93.06 kB / 19.65 MB, free: 272 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.001622/0.001622, allocations: 169 kB / 23.02 MB, free: 1.539 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.9171/0.9171, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.7287/0.7287, allocations: 154.6 MB / 414.5 MB, free: 0.6836 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.934e-06/1.934e-06, allocations: 0 / 0.5203 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.652e-05, allocations: 4.281 kB / 0.5203 GB, free: 2.188 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01167/0.01169, allocations: 15.36 MB / 0.5353 GB, free: 2.789 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01379/0.02548, allocations: 12.78 MB / 0.5478 GB, free: 6.035 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002093/0.02757, allocations: 150.8 kB / 0.548 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.0291, allocations: 0.7226 MB / 0.5487 GB, free: 5.16 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.006162/0.03527, allocations: 3.242 MB / 0.5518 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.03761, allocations: 1.308 MB / 0.5531 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00565/0.04326, allocations: 5.998 MB / 0.559 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002975/0.04624, allocations: 2.844 MB / 0.5617 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004034/0.05027, allocations: 3.683 MB / 0.5653 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002101/0.05237, allocations: 2.037 MB / 0.5673 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0004728/0.05284, allocations: 368 kB / 0.5677 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000674/0.05352, allocations: 443.8 kB / 0.5681 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000718/0.05424, allocations: 1.281 MB / 0.5694 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.05549, allocations: 1.379 MB / 0.5707 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002386/0.05788, allocations: 3.079 MB / 0.5737 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.05788, allocations: 0.625 kB / 0.5737 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.302e-06/0.05788, allocations: 0 / 0.5737 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.458e-05/0.05793, allocations: 0.7812 kB / 0.5737 GB, free: 11.45 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.004895/0.06282, allocations: 4.618 MB / 0.5782 GB, free: 6.754 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.06286, allocations: 10.38 kB / 0.5782 GB, free: 6.746 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00629/0.06915, allocations: 3.066 MB / 0.5812 GB, free: 3.691 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002348/0.0715, allocations: 2.168 MB / 0.5833 GB, free: 1.449 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002541/0.07175, allocations: 466.3 kB / 0.5838 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002956/0.07205, allocations: 244.4 kB / 0.584 GB, free: 0.6914 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004363/0.07641, allocations: 3.504 MB / 0.5874 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/0.07644, allocations: 0 / 0.5874 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002124/0.07666, allocations: 108 kB / 0.5875 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001347/0.07679, allocations: 168.8 kB / 0.5877 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/0.07913, allocations: 1.547 MB / 0.5892 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008554/0.08768, allocations: 7.964 MB / 0.597 GB, free: 2.984 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002935/0.09062, allocations: 1.924 MB / 0.5989 GB, free: 1.051 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006731/0.09129, allocations: 0.5435 MB / 0.5994 GB, free: 0.5117 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.608e-05/0.09138, allocations: 25.31 kB / 0.5994 GB, free: 500 kB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001238/0.09262, allocations: 1.672 MB / 0.6011 GB, free: 14.57 MB / 0.573 GB Notification: Performance of pre-optimization done (n=163): time 3.436e-06/0.09262, allocations: 0 / 0.6011 GB, free: 14.57 MB / 0.573 GB Notification: Performance of matching and sorting (n=250): time 0.01391/0.1065, allocations: 7.515 MB / 0.6084 GB, free: 7.023 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/0.1067, allocations: 0.4928 MB / 0.6089 GB, free: 6.418 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/0.1082, allocations: 1.874 MB / 0.6107 GB, free: 4.527 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001481/0.1084, allocations: 85.64 kB / 0.6108 GB, free: 4.438 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008303/0.1092, allocations: 1.519 MB / 0.6123 GB, free: 2.906 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006476/0.1098, allocations: 0.8598 MB / 0.6131 GB, free: 2.039 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005172/0.1104, allocations: 406.7 kB / 0.6135 GB, free: 1.633 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.665e-05/0.1105, allocations: 484.7 kB / 0.614 GB, free: 1.156 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.1115, allocations: 0.7781 MB / 0.6147 GB, free: 352 kB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.1128, allocations: 1.56 MB / 0.6163 GB, free: 14.54 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00207/0.1148, allocations: 1.824 MB / 0.618 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.1148, allocations: 0 / 0.618 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.00599/0.1208, allocations: 3.765 MB / 0.6217 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.102e-05/0.1209, allocations: 156.5 kB / 0.6219 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.1209, allocations: 4 kB / 0.6219 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006085/0.127, allocations: 2.723 MB / 0.6245 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.128, allocations: 387.5 kB / 0.6249 GB, free: 5.379 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01878/0.1468, allocations: 11.35 MB / 0.636 GB, free: 9.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/0.149, allocations: 211.8 kB / 0.6362 GB, free: 9.613 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002193/0.1492, allocations: 87.97 kB / 0.6363 GB, free: 9.527 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.0008462/0.1501, allocations: 290.3 kB / 0.6365 GB, free: 9.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005776/0.1506, allocations: 398 kB / 0.6369 GB, free: 8.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003876/0.151, allocations: 365.2 kB / 0.6373 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.151, allocations: 27.94 kB / 0.6373 GB, free: 8.445 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.906e-05/0.1511, allocations: 12 kB / 0.6373 GB, free: 8.434 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/0.1511, allocations: 11.95 kB / 0.6373 GB, free: 8.422 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002678/0.1538, allocations: 2.094 MB / 0.6394 GB, free: 6.285 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.1538, allocations: 0 / 0.6394 GB, free: 6.285 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.1549, allocations: 303.5 kB / 0.6397 GB, free: 5.988 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008142/0.163, allocations: 2.676 MB / 0.6423 GB, free: 3.297 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001971/0.1632, allocations: 55.97 kB / 0.6423 GB, free: 3.242 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02061/0.1838, allocations: 11.1 MB / 0.6532 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.1838, allocations: 7.938 kB / 0.6532 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006899/0.1907, allocations: 3.35 MB / 0.6564 GB, free: 4.496 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009045/0.1916, allocations: 0.5914 MB / 0.657 GB, free: 3.902 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002693/0.1919, allocations: 48 kB / 0.6571 GB, free: 3.855 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.1929, allocations: 207.8 kB / 0.6573 GB, free: 3.652 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006389/0.1936, allocations: 358.5 kB / 0.6576 GB, free: 3.305 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.1937, allocations: 67.97 kB / 0.6577 GB, free: 3.238 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001056/0.1948, allocations: 1.125 MB / 0.6588 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1948, allocations: 0 / 0.6588 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002013/0.1968, allocations: 1.035 MB / 0.6598 GB, free: 1.07 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.0002729/0.1971, allocations: 167 kB / 0.6599 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.007934/0.205, allocations: 4.192 MB / 0.664 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.205, allocations: 3.938 kB / 0.664 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.006074/0.2111, allocations: 2.96 MB / 0.6669 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/0.2133, allocations: 1.096 MB / 0.668 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006814/0.2201, allocations: 5.647 MB / 0.6735 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006583/0.2207, allocations: 0.7836 MB / 0.6743 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009993/0.2217, allocations: 399.5 kB / 0.6747 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004557/0.2222, allocations: 180.5 kB / 0.6748 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of SimCode: time 1.322e-06/0.2222, allocations: 0 / 0.6748 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of Templates: time 0.2666/0.4888, allocations: 77.23 MB / 0.7502 GB, free: 123.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.540415127296001]