Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.0007613/0.0007613, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000791/0.000791, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8298/0.8298, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.6861/0.6861, allocations: 154.6 MB / 414.5 MB, free: 0.8164 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.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.698e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.007451/0.007468, allocations: 10.18 MB / 0.6293 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.007864/0.01533, allocations: 8.386 MB / 0.6375 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000664/0.016, allocations: 79.31 kB / 0.6375 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001895/0.01789, allocations: 1.671 MB / 0.6392 GB, free: 8.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002499/0.02039, allocations: 1.608 MB / 0.6407 GB, free: 7.156 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.02141, allocations: 0.6968 MB / 0.6414 GB, free: 6.465 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001767/0.02318, allocations: 2.363 MB / 0.6437 GB, free: 4.086 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.02421, allocations: 1.141 MB / 0.6448 GB, free: 2.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.02533, allocations: 1.387 MB / 0.6462 GB, free: 1.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007967/0.02612, allocations: 0.9037 MB / 0.6471 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.02625, allocations: 136 kB / 0.6472 GB, free: 492 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008008/0.02705, allocations: 0.7482 MB / 0.6479 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003287/0.02737, allocations: 0.6036 MB / 0.6485 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004189/0.02779, allocations: 0.6001 MB / 0.6491 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.02947, allocations: 2.617 MB / 0.6517 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.02948, allocations: 0 / 0.6517 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.32e-07/0.02948, allocations: 0 / 0.6517 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.797e-05/0.02949, allocations: 0 / 0.6517 GB, free: 11.9 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.001876/0.03137, allocations: 1.971 MB / 0.6536 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.03141, allocations: 16.02 kB / 0.6536 GB, free: 9.871 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005144/0.03655, allocations: 2.055 MB / 0.6556 GB, free: 7.812 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.03786, allocations: 1.141 MB / 0.6567 GB, free: 6.621 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.0379, allocations: 86.69 kB / 0.6568 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.03805, allocations: 116.3 kB / 0.6569 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002988/0.04104, allocations: 2.885 MB / 0.6597 GB, free: 3.289 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.04107, allocations: 7.875 kB / 0.6598 GB, free: 3.281 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.04117, allocations: 55.98 kB / 0.6598 GB, free: 3.227 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001706/0.04134, allocations: 130.1 kB / 0.6599 GB, free: 3.098 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00364/0.04498, allocations: 2.541 MB / 0.6624 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006355/0.05134, allocations: 7.424 MB / 0.6697 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003029/0.05437, allocations: 1.842 MB / 0.6715 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.05575, allocations: 0.9388 MB / 0.6724 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.05578, allocations: 8.5 kB / 0.6724 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.0558, allocations: 39.06 kB / 0.6724 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=53): time 2.745e-06/0.0558, allocations: 4 kB / 0.6724 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of matching and sorting (n=81): time 0.2604/0.3162, allocations: 8.623 MB / 0.6808 GB, free: 96.53 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.3163, allocations: 60.75 kB / 0.6809 GB, free: 96.46 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007026/0.317, allocations: 0.9615 MB / 0.6818 GB, free: 96.08 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.647e-05/0.317, allocations: 41.12 kB / 0.6819 GB, free: 96.04 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.3172, allocations: 0.7618 MB / 0.6826 GB, free: 95.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.3174, allocations: 293.3 kB / 0.6829 GB, free: 95.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.3176, allocations: 196.6 kB / 0.6831 GB, free: 95.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.812e-05/0.3176, allocations: 344.6 kB / 0.6834 GB, free: 94.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.319, allocations: 1.079 MB / 0.6845 GB, free: 94.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.3204, allocations: 1.303 MB / 0.6857 GB, free: 94.11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002764/0.3232, allocations: 2.384 MB / 0.6881 GB, free: 93.21 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3232, allocations: 0 / 0.6881 GB, free: 93.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004069/0.3272, allocations: 3.243 MB / 0.6912 GB, free: 92.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3273, allocations: 14.16 kB / 0.6913 GB, free: 92.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.3273, allocations: 8.281 kB / 0.6913 GB, free: 92.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.3286, allocations: 0.7918 MB / 0.692 GB, free: 91.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000851/0.3294, allocations: 414.9 kB / 0.6924 GB, free: 91.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006859/0.3363, allocations: 14.79 MB / 0.7069 GB, free: 80.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009923/0.3373, allocations: 296.2 kB / 0.7072 GB, free: 80.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.308e-05/0.3373, allocations: 48.88 kB / 0.7072 GB, free: 80.04 MB / 0.6355 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,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0004735/0.3378, allocations: 402.3 kB / 0.7076 GB, free: 79.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.3379, allocations: 135 kB / 0.7077 GB, free: 79.71 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004045/0.342, allocations: 3.163 MB / 0.7108 GB, free: 78.74 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.342, allocations: 14.5 kB / 0.7108 GB, free: 78.74 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.342, allocations: 9.25 kB / 0.7108 GB, free: 78.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.342, allocations: 5.953 kB / 0.7108 GB, free: 78.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005428/0.3474, allocations: 4.457 MB / 0.7152 GB, free: 77.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.3474, allocations: 2.812 kB / 0.7152 GB, free: 77.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007875/0.3482, allocations: 358.6 kB / 0.7155 GB, free: 77.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001144/0.3494, allocations: 0.7004 MB / 0.7162 GB, free: 76.93 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.275e-05/0.3494, allocations: 33.11 kB / 0.7162 GB, free: 76.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007179/0.3566, allocations: 14.41 MB / 0.7303 GB, free: 65.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3566, allocations: 3.391 kB / 0.7303 GB, free: 65.13 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004259/0.3609, allocations: 3.001 MB / 0.7333 GB, free: 64.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003799/0.3612, allocations: 295 kB / 0.7335 GB, free: 63.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.124e-05/0.3613, allocations: 25.62 kB / 0.7336 GB, free: 63.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008842/0.3622, allocations: 291.6 kB / 0.7338 GB, free: 63.92 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.3624, allocations: 85.62 kB / 0.7339 GB, free: 63.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-05/0.3624, allocations: 35.56 kB / 0.734 GB, free: 63.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005548/0.363, allocations: 0.6383 MB / 0.7346 GB, free: 63.63 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.363, allocations: 0 / 0.7346 GB, free: 63.63 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001122/0.3641, allocations: 432 kB / 0.735 GB, free: 63.59 MB / 0.6355 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,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001831/0.3643, allocations: 132.5 kB / 0.7351 GB, free: 63.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004317/0.3686, allocations: 3.513 MB / 0.7386 GB, free: 61.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.3686, allocations: 1.125 kB / 0.7386 GB, free: 61.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002402/0.371, allocations: 2.317 MB / 0.7408 GB, free: 60.63 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.3722, allocations: 482.1 kB / 0.7413 GB, free: 60.49 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004374/0.3765, allocations: 3.574 MB / 0.7448 GB, free: 58.95 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006819/0.3772, allocations: 0.7996 MB / 0.7455 GB, free: 58.73 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000333/0.3776, allocations: 119.9 kB / 0.7457 GB, free: 58.72 MB / 0.6355 GB Notification: Performance of SimCode: time 9.22e-07/0.3776, allocations: 0 / 0.7457 GB, free: 58.72 MB / 0.6355 GB Notification: Performance of Templates: time 0.03529/0.4129, allocations: 74.89 MB / 0.8188 GB, free: 10.38 MB / 0.6511 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.015291737392545] Failed to read output from testmodel.py, exit status != 0: 0.41790393833070993 0.42565698399999996 0.39445731799999995 Calling exit ...