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.001369/0.001369, allocations: 84.73 kB / 19.44 MB, free: 352 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.001562/0.001562, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.46/1.46, allocations: 177.1 MB / 203.1 MB, free: 5.266 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.22/1.22, allocations: 154.6 MB / 414.1 MB, free: 0.5664 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.623e-06/1.623e-06, allocations: 0 / 0.5196 GB, free: 2.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.844e-05, allocations: 5.109 kB / 0.5196 GB, free: 2.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03129/0.03132, allocations: 20.91 MB / 0.5401 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.03297/0.06429, allocations: 16.67 MB / 0.5563 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004046/0.06833, allocations: 146.9 kB / 0.5565 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.01284/0.08117, allocations: 4.166 MB / 0.5605 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.01354/0.09471, allocations: 3.706 MB / 0.5642 GB, free: 4.922 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.004533/0.09924, allocations: 1.317 MB / 0.5655 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.01321/0.1124, allocations: 5.989 MB / 0.5713 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007569/0.12, allocations: 2.845 MB / 0.5741 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009887/0.1299, allocations: 3.481 MB / 0.5775 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005811/0.1357, allocations: 2.027 MB / 0.5795 GB, free: 5.18 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.001651/0.1374, allocations: 368 kB / 0.5798 GB, free: 4.82 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003507/0.1409, allocations: 0.9706 MB / 0.5808 GB, free: 3.848 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.002443/0.1433, allocations: 1.273 MB / 0.582 GB, free: 2.57 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.004131/0.1474, allocations: 1.372 MB / 0.5833 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01056/0.158, allocations: 5.242 MB / 0.5885 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.158, allocations: 0.7188 kB / 0.5885 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.743e-06/0.158, allocations: 0 / 0.5885 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002295/0.1582, allocations: 1 kB / 0.5885 GB, free: 11.94 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.01474/0.173, allocations: 4.617 MB / 0.593 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.173, allocations: 8.031 kB / 0.593 GB, free: 7.238 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01855/0.1916, allocations: 3.626 MB / 0.5965 GB, free: 3.605 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007415/0.199, allocations: 2.24 MB / 0.5987 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001035/0.2, allocations: 470.3 kB / 0.5992 GB, free: 0.7695 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001458/0.2015, allocations: 260.3 kB / 0.5994 GB, free: 0.5156 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01623/0.2177, allocations: 5.876 MB / 0.6051 GB, free: 10.23 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.507e-05/0.2178, allocations: 4 kB / 0.6051 GB, free: 10.23 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007558/0.2186, allocations: 99.98 kB / 0.6052 GB, free: 10.13 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002709/0.2188, allocations: 176.8 kB / 0.6054 GB, free: 9.957 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01632/0.2351, allocations: 5.187 MB / 0.6105 GB, free: 4.754 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02577/0.2609, allocations: 8.83 MB / 0.6191 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01149/0.2724, allocations: 3.247 MB / 0.6223 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004217/0.2766, allocations: 1.366 MB / 0.6236 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/0.2768, allocations: 37.23 kB / 0.6236 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005535/0.2823, allocations: 2.454 MB / 0.626 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=163): time 4.258e-06/0.2823, allocations: 3.938 kB / 0.626 GB, free: 4.469 MB / 0.5886 GB Notification: Performance of matching and sorting (n=250): time 0.1365/0.4189, allocations: 27.56 MB / 0.6529 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004915/0.4194, allocations: 0.4889 MB / 0.6534 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005183/0.4245, allocations: 1.994 MB / 0.6554 GB, free: 6.238 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0006185/0.4252, allocations: 77.7 kB / 0.6554 GB, free: 6.156 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001845/0.427, allocations: 1.466 MB / 0.6569 GB, free: 4.684 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001444/0.4284, allocations: 0.8481 MB / 0.6577 GB, free: 3.828 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001652/0.4301, allocations: 420.5 kB / 0.6581 GB, free: 3.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.4303, allocations: 305.1 kB / 0.6584 GB, free: 3.109 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006107/0.4364, allocations: 2.07 MB / 0.6604 GB, free: 1.004 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00715/0.4435, allocations: 2.77 MB / 0.6631 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01268/0.4562, allocations: 4.169 MB / 0.6672 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.253e-05/0.4562, allocations: 4 kB / 0.6672 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02313/0.4794, allocations: 6.678 MB / 0.6737 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001774/0.4795, allocations: 157.8 kB / 0.6739 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/0.4796, allocations: 4 kB / 0.6739 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2537/0.7333, allocations: 3.332 MB / 0.6771 GB, free: 187.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002759/0.7361, allocations: 484.4 kB / 0.6776 GB, free: 187.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03675/0.7728, allocations: 18.33 MB / 0.6955 GB, free: 180.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003824/0.7767, allocations: 327.9 kB / 0.6958 GB, free: 180.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004185/0.7771, allocations: 87.44 kB / 0.6959 GB, free: 180.1 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.001446/0.7785, allocations: 0.7014 MB / 0.6966 GB, free: 179.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008781/0.7794, allocations: 396.1 kB / 0.6969 GB, free: 179.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007811/0.7802, allocations: 366.7 kB / 0.6973 GB, free: 179.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.7802, allocations: 24.62 kB / 0.6973 GB, free: 179.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.019e-05/0.7802, allocations: 9.531 kB / 0.6973 GB, free: 179.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/0.7802, allocations: 9.75 kB / 0.6973 GB, free: 179.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003876/0.7841, allocations: 2.742 MB / 0.7 GB, free: 178.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.911e-05/0.7841, allocations: 3.844 kB / 0.7 GB, free: 178.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/0.7866, allocations: 418.5 kB / 0.7004 GB, free: 178.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01289/0.7995, allocations: 3.279 MB / 0.7036 GB, free: 177.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005597/0.8, allocations: 53.8 kB / 0.7037 GB, free: 177.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03853/0.8386, allocations: 18.11 MB / 0.7214 GB, free: 169 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.8386, allocations: 0 / 0.7214 GB, free: 169 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01794/0.8565, allocations: 6.157 MB / 0.7274 GB, free: 167 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001804/0.8583, allocations: 0.6064 MB / 0.728 GB, free: 166.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007607/0.8591, allocations: 45.03 kB / 0.728 GB, free: 166.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003336/0.8624, allocations: 316.4 kB / 0.7283 GB, free: 166.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001332/0.8638, allocations: 362.4 kB / 0.7287 GB, free: 166.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002618/0.864, allocations: 71.03 kB / 0.7287 GB, free: 166.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001853/0.8659, allocations: 1.313 MB / 0.73 GB, free: 166 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.8659, allocations: 0.5469 kB / 0.73 GB, free: 166 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003019/0.8689, allocations: 1.038 MB / 0.731 GB, free: 165.9 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.0004327/0.8693, allocations: 171 kB / 0.7312 GB, free: 165.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.02098/0.8903, allocations: 6.462 MB / 0.7375 GB, free: 160.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/0.8903, allocations: 4 kB / 0.7375 GB, free: 160.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.01634/0.9067, allocations: 3.928 MB / 0.7413 GB, free: 157.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005774/0.9124, allocations: 1.093 MB / 0.7424 GB, free: 156.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/0.9277, allocations: 6.872 MB / 0.7491 GB, free: 150.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00226/0.93, allocations: 1.682 MB / 0.7508 GB, free: 148.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002132/0.9321, allocations: 474.1 kB / 0.7512 GB, free: 148.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000664/0.9328, allocations: 181 kB / 0.7514 GB, free: 148 MB / 0.6355 GB Notification: Performance of SimCode: time 1.944e-06/0.9328, allocations: 0 / 0.7514 GB, free: 148 MB / 0.6355 GB Notification: Performance of Templates: time 0.09317/1.026, allocations: 72.76 MB / 0.8224 GB, free: 76.46 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=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.393955452018417]