Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLines.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.000747/0.000747, allocations: 80.44 kB / 19.91 MB, free: 4 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.0007655/0.0007655, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.8839/0.8839, allocations: 177.2 MB / 203.6 MB, free: 5.77 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-531:686: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-531:694: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.7505/0.7505, allocations: 154.7 MB / 414.7 MB, free: 0.7578 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.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLines") translateModel(IDEAS.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLines") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 67.91 kB / 0.6196 GB, free: 13.12 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4668/0.4684, allocations: 102 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLines): time 0.01658/0.485, allocations: 21.02 MB / 0.7396 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01838/0.5034, allocations: 16.74 MB / 0.756 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004004/0.5074, allocations: 149.5 kB / 0.7561 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.007551/0.5149, allocations: 4.177 MB / 0.7602 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.01166/0.5266, allocations: 3.602 MB / 0.7637 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00402/0.5306, allocations: 1.323 MB / 0.765 GB, free: 9.723 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01054/0.5411, allocations: 5.651 MB / 0.7705 GB, free: 6.434 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004478/0.5456, allocations: 2.843 MB / 0.7733 GB, free: 4.441 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007339/0.5529, allocations: 3.472 MB / 0.7767 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004969/0.5579, allocations: 2.256 MB / 0.7789 GB, free: 0.9688 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001251/0.5592, allocations: 352.2 kB / 0.7792 GB, free: 0.9688 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002746/0.5619, allocations: 0.9398 MB / 0.7802 GB, free: 0.6289 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001157/0.5631, allocations: 1.193 MB / 0.7813 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.003167/0.5662, allocations: 1.612 MB / 0.7829 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.007576/0.5738, allocations: 5.432 MB / 0.7882 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.5738, allocations: 0 / 0.7882 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5738, allocations: 0 / 0.7882 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001841/0.574, allocations: 0 / 0.7882 GB, free: 10.94 MB / 0.6667 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.008363/0.5824, allocations: 4.476 MB / 0.7926 GB, free: 6.598 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.5824, allocations: 8.031 kB / 0.7926 GB, free: 6.59 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008096/0.5905, allocations: 3.279 MB / 0.7958 GB, free: 3.305 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004581/0.5951, allocations: 2.12 MB / 0.7979 GB, free: 1.113 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.5952, allocations: 181.1 kB / 0.798 GB, free: 0.9336 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005214/0.5957, allocations: 236.1 kB / 0.7983 GB, free: 0.7031 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007302/0.603, allocations: 5.779 MB / 0.8039 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.662e-05/0.6031, allocations: 4 kB / 0.8039 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002489/0.6033, allocations: 99.98 kB / 0.804 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000151/0.6035, allocations: 172.8 kB / 0.8042 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008476/0.6119, allocations: 5.12 MB / 0.8092 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01796/0.6299, allocations: 8.369 MB / 0.8173 GB, free: 12.63 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008505/0.6384, allocations: 3.564 MB / 0.8208 GB, free: 9.055 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001916/0.6403, allocations: 1.288 MB / 0.8221 GB, free: 7.766 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.553e-05/0.6404, allocations: 21.3 kB / 0.8221 GB, free: 7.742 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002394/0.6428, allocations: 2.377 MB / 0.8244 GB, free: 5.141 MB / 0.698 GB Notification: Performance of pre-optimization done (n=163): time 3.888e-06/0.6428, allocations: 0 / 0.8244 GB, free: 5.141 MB / 0.698 GB Notification: Performance of matching and sorting (n=250): time 0.05798/0.7008, allocations: 27.07 MB / 0.8508 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001811/0.701, allocations: 496.7 kB / 0.8513 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/0.703, allocations: 1.998 MB / 0.8533 GB, free: 7.406 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001916/0.7032, allocations: 77.7 kB / 0.8533 GB, free: 7.324 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009378/0.7042, allocations: 1.473 MB / 0.8548 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005587/0.7047, allocations: 0.8559 MB / 0.8556 GB, free: 4.977 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005177/0.7052, allocations: 416.5 kB / 0.856 GB, free: 4.562 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.892e-05/0.7053, allocations: 305.1 kB / 0.8563 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002643/0.708, allocations: 1.943 MB / 0.8582 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002842/0.7108, allocations: 2.633 MB / 0.8608 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005179/0.716, allocations: 3.947 MB / 0.8646 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.716, allocations: 4 kB / 0.8646 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.009242/0.7252, allocations: 6.12 MB / 0.8706 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.483e-05/0.7253, allocations: 152.6 kB / 0.8708 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.7253, allocations: 11.97 kB / 0.8708 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003907/0.7292, allocations: 2.009 MB / 0.8727 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.7307, allocations: 0.4953 MB / 0.8732 GB, free: 2.402 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01539/0.7461, allocations: 15.46 MB / 0.8883 GB, free: 2.777 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002462/0.7486, allocations: 307.6 kB / 0.8886 GB, free: 2.477 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/0.7487, allocations: 87.97 kB / 0.8887 GB, free: 2.391 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003717/0.7524, allocations: 2.512 MB / 0.8911 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002888/0.7553, allocations: 2.614 MB / 0.8937 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005057/0.7604, allocations: 3.912 MB / 0.8975 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.526e-06/0.7604, allocations: 4 kB / 0.8975 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.008722/0.7691, allocations: 6.022 MB / 0.9034 GB, free: 2.816 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.8e-05/0.7692, allocations: 148.5 kB / 0.9035 GB, free: 2.641 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.7692, allocations: 4 kB / 0.9036 GB, free: 2.637 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003383/0.7726, allocations: 1.9 MB / 0.9054 GB, free: 0.7305 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.7738, allocations: 0.4914 MB / 0.9059 GB, free: 244 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01379/0.7876, allocations: 14.98 MB / 0.9205 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/0.79, allocations: 315.6 kB / 0.9208 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.7901, allocations: 87.97 kB / 0.9209 GB, free: 0.6523 MB / 0.7917 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 (172): * Single equations (assignments): 165 * 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 {(10,52)} Notification: Performance of prepare postOptimizeDAE: time 0.000542/0.7906, allocations: 323.9 kB / 0.9212 GB, free: 336 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003155/0.791, allocations: 318 kB / 0.9215 GB, free: 16 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000483/0.7914, allocations: 389.2 kB / 0.9219 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.7915, allocations: 15.95 kB / 0.9219 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.7915, allocations: 0 / 0.9219 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007922/0.7923, allocations: 0.5759 MB / 0.9225 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/0.7925, allocations: 52.55 kB / 0.9225 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.7938, allocations: 299.6 kB / 0.9228 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000648/0.7944, allocations: 361.2 kB / 0.9231 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008662/0.8031, allocations: 5.834 MB / 0.9288 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008101/0.8112, allocations: 6.105 MB / 0.9348 GB, free: 2.359 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002523/0.8137, allocations: 1.94 MB / 0.9367 GB, free: 432 kB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001704/0.8154, allocations: 1.316 MB / 0.938 GB, free: 15.1 MB / 0.823 GB Notification: Performance of Backend: time 1.252e-06/0.8154, allocations: 0 / 0.938 GB, free: 15.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0126/0.828, allocations: 8.243 MB / 0.946 GB, free: 6.594 MB / 0.823 GB Notification: Performance of SimCode: time 0.009951/0.8379, allocations: 7.564 MB / 0.9534 GB, free: 15.03 MB / 0.8386 GB Notification: Performance of Templates: time 0.4507/1.289, allocations: 98.79 MB / 1.05 GB, free: 248.4 MB / 0.8855 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLines.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLines.sim & ./IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.874182347906753] Failed to read output from testmodel.py, exit status != 0: 1.2963007190264761 1.30409953 0.7282553589999999 Calling exit ...