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.001327/0.001327, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001466/0.001466, allocations: 211 kB / 22.24 MB, free: 4.859 MB / 14.72 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 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-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 1.284/1.284, allocations: 203.5 MB / 0.5038 GB, free: 4.879 MB / 414.1 MB " [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: 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.00218/0.00218, allocations: 67.88 kB / 0.7183 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6598/0.662, allocations: 102 MB / 0.8179 GB, free: 29.04 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02771/0.6897, allocations: 21.26 MB / 0.8386 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02705/0.7167, allocations: 16.86 MB / 0.8551 GB, free: 4.645 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004668/0.7214, allocations: 149.5 kB / 0.8552 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01151/0.7329, allocations: 4.16 MB / 0.8593 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01352/0.7464, allocations: 3.596 MB / 0.8628 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005435/0.7519, allocations: 1.309 MB / 0.8641 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0129/0.7648, allocations: 5.815 MB / 0.8698 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008347/0.7731, allocations: 2.834 MB / 0.8725 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008762/0.7819, allocations: 2.618 MB / 0.8751 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006839/0.7887, allocations: 2.257 MB / 0.8773 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002108/0.7908, allocations: 367.8 kB / 0.8777 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004669/0.7955, allocations: 0.9544 MB / 0.8786 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003143/0.7986, allocations: 1.215 MB / 0.8798 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006986/0.8056, allocations: 1.651 MB / 0.8814 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01448/0.8201, allocations: 5.227 MB / 0.8865 GB, free: 412 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.8201, allocations: 0 / 0.8865 GB, free: 412 kB / 0.6544 GB Notification: Performance of FrontEnd: time 3.206e-06/0.8201, allocations: 0 / 0.8865 GB, free: 412 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002928/0.8204, allocations: 3.984 kB / 0.8865 GB, free: 408 kB / 0.6544 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.01847/0.8389, allocations: 4.647 MB / 0.891 GB, free: 11.65 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.8389, allocations: 12.03 kB / 0.891 GB, free: 11.64 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01709/0.856, allocations: 3.283 MB / 0.8942 GB, free: 8.348 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006629/0.8626, allocations: 2.139 MB / 0.8963 GB, free: 6.137 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005478/0.8632, allocations: 474.2 kB / 0.8968 GB, free: 5.609 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001056/0.8642, allocations: 235.9 kB / 0.897 GB, free: 5.379 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01361/0.8779, allocations: 5.876 MB / 0.9028 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.97e-05/0.8779, allocations: 7.922 kB / 0.9028 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000398/0.8783, allocations: 99.98 kB / 0.9029 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002363/0.8785, allocations: 172.8 kB / 0.903 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01471/0.8933, allocations: 5.187 MB / 0.9081 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02628/0.9195, allocations: 8.771 MB / 0.9166 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01016/0.9297, allocations: 3.256 MB / 0.9198 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003936/0.9336, allocations: 1.366 MB / 0.9212 GB, free: 12.1 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001988/0.9338, allocations: 29.3 kB / 0.9212 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005654/0.9395, allocations: 2.454 MB / 0.9236 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=163): time 5.35e-06/0.9395, allocations: 0 / 0.9236 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of matching and sorting (n=250): time 0.1307/1.07, allocations: 27.5 MB / 0.9504 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003523/1.071, allocations: 0.4928 MB / 0.9509 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004104/1.075, allocations: 2.001 MB / 0.9529 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006142/1.075, allocations: 73.7 kB / 0.9529 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001803/1.077, allocations: 1.47 MB / 0.9544 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001466/1.079, allocations: 0.8675 MB / 0.9552 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001573/1.08, allocations: 412.5 kB / 0.9556 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000156/1.08, allocations: 301.1 kB / 0.9559 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005838/1.086, allocations: 2.066 MB / 0.9579 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006939/1.093, allocations: 2.771 MB / 0.9606 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01246/1.105, allocations: 4.173 MB / 0.9647 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-05/1.105, allocations: 0 / 0.9647 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0221/1.128, allocations: 6.585 MB / 0.9711 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001694/1.128, allocations: 156.5 kB / 0.9713 GB, free: 7.789 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-05/1.128, allocations: 4 kB / 0.9713 GB, free: 7.785 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01152/1.139, allocations: 2.916 MB / 0.9741 GB, free: 4.867 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003448/1.143, allocations: 495.2 kB / 0.9746 GB, free: 4.383 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04763/1.19, allocations: 18.19 MB / 0.9924 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005493/1.196, allocations: 323.6 kB / 0.9927 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008445/1.197, allocations: 91.97 kB / 0.9928 GB, free: 1.617 MB / 0.7637 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.002734/1.199, allocations: 0.7074 MB / 0.9935 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00113/1.201, allocations: 326 kB / 0.9938 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/1.202, allocations: 357.2 kB / 0.9941 GB, free: 228 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.939e-05/1.202, allocations: 24 kB / 0.9941 GB, free: 204 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.264e-05/1.202, allocations: 12 kB / 0.9941 GB, free: 192 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.485e-05/1.202, allocations: 11.95 kB / 0.9942 GB, free: 180 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006277/1.208, allocations: 2.727 MB / 0.9968 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.255e-05/1.208, allocations: 0 / 0.9968 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002858/1.211, allocations: 419.4 kB / 0.9972 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01141/1.222, allocations: 2.867 MB / 1 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006445/1.223, allocations: 51.95 kB / 1 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04583/1.269, allocations: 17.97 MB / 1.018 GB, free: 7.891 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.269, allocations: 4 kB / 1.018 GB, free: 7.887 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0201/1.289, allocations: 6.083 MB / 1.024 GB, free: 1.777 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00257/1.292, allocations: 0.6032 MB / 1.024 GB, free: 1.172 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001196/1.293, allocations: 44 kB / 1.024 GB, free: 1.129 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003782/1.297, allocations: 315.6 kB / 1.024 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001397/1.298, allocations: 363.1 kB / 1.025 GB, free: 476 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003842/1.298, allocations: 67.97 kB / 1.025 GB, free: 408 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002864/1.301, allocations: 1.32 MB / 1.026 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/1.301, allocations: 3.938 kB / 1.026 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.005106/1.306, allocations: 1.039 MB / 1.027 GB, free: 14.03 MB / 0.8106 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.0007096/1.307, allocations: 163 kB / 1.027 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.02535/1.332, allocations: 6.458 MB / 1.034 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.332, allocations: 0 / 1.034 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.01856/1.351, allocations: 3.931 MB / 1.038 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005874/1.357, allocations: 1.031 MB / 1.039 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/1.374, allocations: 6.808 MB / 1.045 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00299/1.377, allocations: 1.683 MB / 1.047 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00251/1.38, allocations: 471.5 kB / 1.047 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000867/1.381, allocations: 183.3 kB / 1.047 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of SimCode: time 7.51e-07/1.381, allocations: 0 / 1.047 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of Templates: time 0.5799/1.961, allocations: 77.56 MB / 1.123 GB, free: 257.7 MB / 0.8887 GB " [Timeout remaining time 658] 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: 10.758492833003402] Failed to read output from testmodel.py, exit status != 0: 1.971678091213107 1.98772942 1.164073596 Calling exit ...