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.0007122/0.0007122, allocations: 76.45 kB / 19.91 MB, free: 12 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.0007508/0.0007508, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8495/0.8495, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.6826/0.6826, 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.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: 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.001423/0.001423, allocations: 67.88 kB / 0.6195 GB, free: 13.11 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.4115/0.4129, allocations: 102 MB / 0.7191 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.007597/0.4205, allocations: 10.22 MB / 0.7291 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.008081/0.4286, allocations: 8.439 MB / 0.7373 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000664/0.4292, allocations: 78.34 kB / 0.7374 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002024/0.4313, allocations: 1.673 MB / 0.739 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002677/0.4339, allocations: 1.578 MB / 0.7406 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.4351, allocations: 0.6767 MB / 0.7412 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001644/0.4368, allocations: 2.291 MB / 0.7435 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.4379, allocations: 1.144 MB / 0.7446 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.4391, allocations: 1.425 MB / 0.746 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009249/0.44, allocations: 1.001 MB / 0.747 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.4401, allocations: 137.8 kB / 0.7471 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.4412, allocations: 0.7428 MB / 0.7478 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003846/0.4416, allocations: 0.581 MB / 0.7484 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005036/0.4421, allocations: 0.7299 MB / 0.7491 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002207/0.4443, allocations: 2.736 MB / 0.7518 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4443, allocations: 0 / 0.7518 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4443, allocations: 0 / 0.7518 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.106e-05/0.4443, allocations: 4.844 kB / 0.7518 GB, free: 4.879 MB / 0.6355 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.002/0.4463, allocations: 1.993 MB / 0.7537 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.4464, allocations: 10.28 kB / 0.7537 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005925/0.4523, allocations: 2.061 MB / 0.7557 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.4536, allocations: 1.139 MB / 0.7569 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.025e-05/0.4537, allocations: 89.75 kB / 0.7569 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.4538, allocations: 118.9 kB / 0.7571 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003081/0.4569, allocations: 2.881 MB / 0.7599 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.251e-05/0.457, allocations: 11.14 kB / 0.7599 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.4571, allocations: 54.61 kB / 0.7599 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002082/0.4573, allocations: 131.1 kB / 0.7601 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004008/0.4613, allocations: 2.535 MB / 0.7625 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007111/0.4684, allocations: 7.431 MB / 0.7698 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003307/0.4717, allocations: 1.842 MB / 0.7716 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.4732, allocations: 0.942 MB / 0.7725 GB, free: 7.375 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.675e-05/0.4732, allocations: 9.344 kB / 0.7725 GB, free: 7.371 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.4733, allocations: 48.02 kB / 0.7726 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 2.024e-06/0.4733, allocations: 0 / 0.7726 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.01648/0.4898, allocations: 8.64 MB / 0.781 GB, free: 2.078 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.4898, allocations: 60.06 kB / 0.7811 GB, free: 2.004 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008498/0.4906, allocations: 0.9593 MB / 0.782 GB, free: 1.031 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.458e-05/0.4907, allocations: 45.7 kB / 0.782 GB, free: 0.9805 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003448/0.4911, allocations: 0.7541 MB / 0.7828 GB, free: 224 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.4913, allocations: 301.6 kB / 0.7831 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002486/0.4915, allocations: 202.5 kB / 0.7833 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.937e-05/0.4916, allocations: 345.7 kB / 0.7836 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/0.4932, allocations: 1.075 MB / 0.7846 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.4949, allocations: 1.297 MB / 0.7859 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003244/0.4981, allocations: 2.39 MB / 0.7882 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.4981, allocations: 4 kB / 0.7882 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004657/0.5028, allocations: 3.238 MB / 0.7914 GB, free: 7.148 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.5028, allocations: 8.875 kB / 0.7914 GB, free: 7.141 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.5028, allocations: 8 kB / 0.7914 GB, free: 7.133 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/0.5042, allocations: 0.7832 MB / 0.7922 GB, free: 6.324 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009476/0.5052, allocations: 411.3 kB / 0.7926 GB, free: 5.922 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009089/0.5143, allocations: 14.82 MB / 0.807 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.5154, allocations: 291.7 kB / 0.8073 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.736e-05/0.5155, allocations: 59.89 kB / 0.8074 GB, free: 5.93 MB / 0.6823 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.0005854/0.5161, allocations: 393.5 kB / 0.8078 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.5162, allocations: 135.2 kB / 0.8079 GB, free: 5.402 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004661/0.5209, allocations: 3.169 MB / 0.811 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.5209, allocations: 8 kB / 0.811 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.5209, allocations: 8 kB / 0.811 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.5209, allocations: 7.984 kB / 0.811 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005964/0.5269, allocations: 4.465 MB / 0.8154 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.5269, allocations: 4 kB / 0.8154 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007898/0.5277, allocations: 351.4 kB / 0.8157 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00119/0.5288, allocations: 0.6937 MB / 0.8164 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.938e-05/0.5289, allocations: 35.95 kB / 0.8164 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0086/0.5375, allocations: 14.43 MB / 0.8305 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.5375, allocations: 7.938 kB / 0.8305 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004421/0.5419, allocations: 3.008 MB / 0.8335 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003786/0.5423, allocations: 298.9 kB / 0.8337 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.5424, allocations: 15.98 kB / 0.8338 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009063/0.5433, allocations: 295.5 kB / 0.834 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.5435, allocations: 84.39 kB / 0.8341 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.717e-05/0.5435, allocations: 35.97 kB / 0.8341 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005365/0.5441, allocations: 0.6423 MB / 0.8348 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.5441, allocations: 4 kB / 0.8348 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001021/0.5451, allocations: 431.9 kB / 0.8352 GB, free: 8.383 MB / 0.7136 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.0001885/0.5453, allocations: 127 kB / 0.8353 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004723/0.55, allocations: 3.504 MB / 0.8387 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.55, allocations: 4 kB / 0.8387 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002479/0.5525, allocations: 2.324 MB / 0.841 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.5536, allocations: 0.492 MB / 0.8415 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004574/0.5582, allocations: 3.586 MB / 0.845 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/0.5588, allocations: 0.8054 MB / 0.8458 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000319/0.5591, allocations: 120.4 kB / 0.8459 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of SimCode: time 5.71e-07/0.5591, allocations: 0 / 0.8459 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of Templates: time 0.04577/0.6048, allocations: 74.91 MB / 0.919 GB, free: 2.289 MB / 0.7917 GB " [Timeout remaining time 659] 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.350377559894696] Failed to read output from testmodel.py, exit status != 0: 0.6120762040372938 0.6191967629999999 0.17317160699999995 Calling exit ...