Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001291/0.001291, allocations: 79.36 kB / 19.18 MB, free: 2.516 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.001434/0.001434, allocations: 162.1 kB / 22.46 MB, free: 5.375 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.439/1.439, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.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.22/1.22, allocations: 154.6 MB / 413.8 MB, free: 5.219 MB / 382.1 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.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6186 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.953e-05/3.115e-05, allocations: 5.578 kB / 0.6186 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01066/0.01069, allocations: 6.384 MB / 0.6248 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006055/0.01675, allocations: 2.997 MB / 0.6277 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008525/0.0176, allocations: 39.62 kB / 0.6278 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00349/0.02109, allocations: 0.9597 MB / 0.6287 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001967/0.02306, allocations: 0.5356 MB / 0.6292 GB, free: 9.609 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.02455, allocations: 429.8 kB / 0.6297 GB, free: 9.191 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002005/0.02656, allocations: 1.252 MB / 0.6309 GB, free: 7.934 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.02777, allocations: 0.5373 MB / 0.6314 GB, free: 7.395 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00138/0.02915, allocations: 0.6663 MB / 0.6321 GB, free: 6.727 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009115/0.03007, allocations: 474.7 kB / 0.6325 GB, free: 6.262 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001828/0.03025, allocations: 68 kB / 0.6326 GB, free: 6.195 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008592/0.03111, allocations: 351.1 kB / 0.6329 GB, free: 5.852 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004556/0.03156, allocations: 331 kB / 0.6332 GB, free: 5.527 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006424/0.03221, allocations: 311.3 kB / 0.6335 GB, free: 5.223 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00195/0.03416, allocations: 1.242 MB / 0.6347 GB, free: 3.977 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.03416, allocations: 0 / 0.6347 GB, free: 3.977 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.413e-06/0.03416, allocations: 4 kB / 0.6347 GB, free: 3.973 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.245e-05/0.03421, allocations: 3.984 kB / 0.6347 GB, free: 3.969 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002515/0.03673, allocations: 1.092 MB / 0.6358 GB, free: 2.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.03677, allocations: 16.03 kB / 0.6358 GB, free: 2.824 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/0.03846, allocations: 248 kB / 0.6361 GB, free: 2.582 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.03969, allocations: 0.5223 MB / 0.6366 GB, free: 2.035 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.265e-05/0.03974, allocations: 41.69 kB / 0.6366 GB, free: 1.996 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.03989, allocations: 72.34 kB / 0.6367 GB, free: 1.926 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.04186, allocations: 1.332 MB / 0.638 GB, free: 432 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/0.0419, allocations: 4.125 kB / 0.638 GB, free: 428 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-05/0.04199, allocations: 36.31 kB / 0.638 GB, free: 392 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001757/0.04216, allocations: 93.19 kB / 0.6381 GB, free: 296 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.04356, allocations: 0.7465 MB / 0.6388 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006209/0.04977, allocations: 4.515 MB / 0.6432 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.05093, allocations: 0.5088 MB / 0.6437 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004932/0.05142, allocations: 286.1 kB / 0.644 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.05146, allocations: 8.5 kB / 0.644 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.0515, allocations: 43 kB / 0.6441 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 1.924e-06/0.0515, allocations: 0 / 0.6441 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.004231/0.05573, allocations: 1.678 MB / 0.6457 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.05578, allocations: 59.91 kB / 0.6458 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007644/0.05654, allocations: 0.5066 MB / 0.6462 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.05659, allocations: 29.7 kB / 0.6463 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003455/0.05694, allocations: 431.8 kB / 0.6467 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.05712, allocations: 182.4 kB / 0.6469 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/0.05737, allocations: 126.6 kB / 0.647 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002193/0.05758, allocations: 362.8 kB / 0.6473 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004834/0.05807, allocations: 273.8 kB / 0.6476 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006841/0.05875, allocations: 493 kB / 0.6481 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.06001, allocations: 0.8202 MB / 0.6489 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.06002, allocations: 0 / 0.6489 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002386/0.06241, allocations: 1.07 MB / 0.6499 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.06243, allocations: 12.03 kB / 0.6499 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.06245, allocations: 8 kB / 0.6499 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009784/0.06343, allocations: 279.1 kB / 0.6502 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005198/0.06395, allocations: 127.8 kB / 0.6503 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007983/0.07193, allocations: 6.59 MB / 0.6568 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006313/0.07257, allocations: 35.97 kB / 0.6568 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.281e-05/0.07266, allocations: 35.94 kB / 0.6568 GB, free: 12.24 MB / 0.5762 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004811/0.07314, allocations: 255.5 kB / 0.6571 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.0733, allocations: 71.58 kB / 0.6571 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/0.07508, allocations: 0.8777 MB / 0.658 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.07509, allocations: 4 kB / 0.658 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.0751, allocations: 4 kB / 0.658 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.07511, allocations: 3.984 kB / 0.658 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002814/0.07792, allocations: 1.519 MB / 0.6595 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.07793, allocations: 4 kB / 0.6595 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/0.07822, allocations: 59.89 kB / 0.6595 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008429/0.07906, allocations: 267.3 kB / 0.6598 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.276e-05/0.0791, allocations: 8 kB / 0.6598 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00748/0.08658, allocations: 6.587 MB / 0.6662 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.08658, allocations: 4.062 kB / 0.6662 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.0884, allocations: 0.9776 MB / 0.6672 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003451/0.08874, allocations: 107.5 kB / 0.6673 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.08886, allocations: 15.98 kB / 0.6673 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.08928, allocations: 23.97 kB / 0.6673 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.08942, allocations: 51.8 kB / 0.6674 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.959e-05/0.08946, allocations: 16 kB / 0.6674 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004744/0.08993, allocations: 346.8 kB / 0.6677 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.08993, allocations: 0 / 0.6677 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009147/0.09085, allocations: 220 kB / 0.6679 GB, free: 300 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001909/0.09104, allocations: 107.2 kB / 0.668 GB, free: 184 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00229/0.09333, allocations: 1.232 MB / 0.6692 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.09333, allocations: 0 / 0.6692 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001409/0.09474, allocations: 0.862 MB / 0.6701 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.09585, allocations: 207.7 kB / 0.6703 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.09846, allocations: 1.333 MB / 0.6716 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005434/0.099, allocations: 411.3 kB / 0.672 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003876/0.09939, allocations: 121.4 kB / 0.6721 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.09952, allocations: 40.5 kB / 0.6721 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of SimCode: time 6.81e-07/0.09952, allocations: 0 / 0.6721 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of Templates: time 0.02153/0.121, allocations: 11.25 MB / 0.6831 GB, free: 0.8477 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.100335545837879] Failed to read output from testmodel.py, exit status != 0: 0.13082706183195114 0.14765129100000002 0.109921794 Calling exit ...