Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 113.9 kB / 18.94 MB, free: 2.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 190.2 kB / 22.23 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.117/1.117, allocations: 177.9 MB / 484.2 MB, free: 5.352 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002853/0.002853, allocations: 64.44 kB / 0.674 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6651/0.668, allocations: 95.17 MB / 0.7669 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01748/0.6855, allocations: 15.31 MB / 0.7819 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01913/0.7046, allocations: 10.73 MB / 0.7924 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002312/0.7069, allocations: 79.41 kB / 0.7924 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005382/0.7123, allocations: 1.757 MB / 0.7941 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007142/0.7194, allocations: 1.859 MB / 0.796 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.7223, allocations: 0.771 MB / 0.7967 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006006/0.7283, allocations: 2.754 MB / 0.7994 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002156/0.7304, allocations: 1.008 MB / 0.8004 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003895/0.7343, allocations: 1.561 MB / 0.8019 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003044/0.7374, allocations: 1.232 MB / 0.8031 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004346/0.7378, allocations: 160.8 kB / 0.8033 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.7402, allocations: 0.8033 MB / 0.8041 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009411/0.7412, allocations: 0.623 MB / 0.8047 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001925/0.7431, allocations: 0.9539 MB / 0.8056 GB, free: 132 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005683/0.7488, allocations: 2.776 MB / 0.8083 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.7488, allocations: 1.375 kB / 0.8083 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.749e-06/0.7488, allocations: 3.984 kB / 0.8083 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000103/0.7489, allocations: 0 / 0.8083 GB, free: 14.51 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005894/0.7548, allocations: 2.148 MB / 0.8104 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.7548, allocations: 9.5 kB / 0.8104 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01291/0.7677, allocations: 2.116 MB / 0.8125 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003846/0.7716, allocations: 1.23 MB / 0.8137 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.7717, allocations: 85.59 kB / 0.8138 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003994/0.7721, allocations: 131.7 kB / 0.8139 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007026/0.7791, allocations: 2.664 MB / 0.8165 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.797e-05/0.7792, allocations: 8.25 kB / 0.8165 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002004/0.7794, allocations: 54.59 kB / 0.8166 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007799/0.7802, allocations: 193.6 kB / 0.8167 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009408/0.7896, allocations: 2.799 MB / 0.8195 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02569/0.8153, allocations: 10.37 MB / 0.8296 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/0.8254, allocations: 2.184 MB / 0.8317 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004903/0.8303, allocations: 1.201 MB / 0.8329 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.8304, allocations: 9.25 kB / 0.8329 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.692e-05/0.8305, allocations: 47.61 kB / 0.833 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=89): time 4.338e-06/0.8305, allocations: 1.375 kB / 0.833 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=153): time 0.0762/0.9067, allocations: 15.99 MB / 0.8486 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.9067, allocations: 64.72 kB / 0.8486 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/0.9086, allocations: 1.172 MB / 0.8498 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003217/0.909, allocations: 53.64 kB / 0.8498 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006769/0.9096, allocations: 0.7684 MB / 0.8506 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006404/0.9103, allocations: 0.5383 MB / 0.8511 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006136/0.9109, allocations: 287.5 kB / 0.8514 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.911, allocations: 309 kB / 0.8517 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00386/0.9149, allocations: 1.507 MB / 0.8531 GB, free: 9.793 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004192/0.9191, allocations: 1.788 MB / 0.8549 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008361/0.9275, allocations: 3.362 MB / 0.8582 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/0.9275, allocations: 4 kB / 0.8582 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01557/0.943, allocations: 5.215 MB / 0.8633 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.9431, allocations: 12.81 kB / 0.8633 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.9431, allocations: 4 kB / 0.8633 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007755/0.9508, allocations: 1.876 MB / 0.8651 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/0.9532, allocations: 411.3 kB / 0.8655 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03588/0.9891, allocations: 23.35 MB / 0.8883 GB, free: 4.625 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003365/0.9924, allocations: 307.6 kB / 0.8886 GB, free: 4.324 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004275/0.9928, allocations: 67.97 kB / 0.8887 GB, free: 4.258 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001435/0.9943, allocations: 461.9 kB / 0.8891 GB, free: 3.797 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006701/0.9949, allocations: 191.3 kB / 0.8893 GB, free: 3.609 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01607/1.011, allocations: 5.246 MB / 0.8944 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/1.011, allocations: 16 kB / 0.8944 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.059e-05/1.011, allocations: 20 kB / 0.8944 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.894e-05/1.011, allocations: 7.969 kB / 0.8945 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02059/1.032, allocations: 7.336 MB / 0.9016 GB, free: 6.816 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/1.032, allocations: 4 kB / 0.9016 GB, free: 6.812 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001939/1.034, allocations: 351.4 kB / 0.902 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006879/1.041, allocations: 1.696 MB / 0.9036 GB, free: 4.75 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003136/1.041, allocations: 47.97 kB / 0.9037 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03459/1.075, allocations: 22.5 MB / 0.9256 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.075, allocations: 7.938 kB / 0.9256 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01378/1.089, allocations: 4.829 MB / 0.9304 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/1.091, allocations: 430.6 kB / 0.9308 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005508/1.091, allocations: 24 kB / 0.9308 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002635/1.094, allocations: 315.5 kB / 0.9311 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006011/1.095, allocations: 164.9 kB / 0.9313 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001907/1.095, allocations: 51.97 kB / 0.9313 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001485/1.096, allocations: 0.7899 MB / 0.9321 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.31e-07/1.096, allocations: 0 / 0.9321 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002893/1.099, allocations: 0.6523 MB / 0.9327 GB, free: 5.961 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003955/1.099, allocations: 147.1 kB / 0.9328 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01334/1.113, allocations: 4.913 MB / 0.9376 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.626e-05/1.113, allocations: 8.5 kB / 0.9377 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.008564/1.121, allocations: 3.261 MB / 0.9408 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003485/1.125, allocations: 0.5699 MB / 0.9414 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/1.136, allocations: 4.369 MB / 0.9457 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001782/1.137, allocations: 1.568 MB / 0.9472 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00152/1.139, allocations: 386.4 kB / 0.9476 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004594/1.139, allocations: 107.4 kB / 0.9477 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of SimCode: time 1.202e-06/1.139, allocations: 4 kB / 0.9477 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of Templates: time 0.09335/1.233, allocations: 47.09 MB / 0.9937 GB, free: 7.727 MB / 0.7794 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.268622355535626] Failed to read output from testmodel.py, exit status != 0: 1.2435265136882663 1.257166147 0.505022077 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f20b8fd57b0>