Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.0009012/0.0009012, allocations: 72.45 kB / 19.9 MB, free: 16 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.001562/0.001562, 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.8833/0.8833, allocations: 177.2 MB / 203.6 MB, free: 5.773 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.6839/0.6839, allocations: 154.7 MB / 414.7 MB, free: 0.7656 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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [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.001669/0.001669, allocations: 67.89 kB / 0.6196 GB, free: 13.12 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.4128/0.4144, allocations: 101.9 MB / 0.7191 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005039/0.4195, allocations: 5.849 MB / 0.7248 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00342/0.4229, allocations: 3.097 MB / 0.7278 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003859/0.4233, allocations: 40.72 kB / 0.7279 GB, free: 18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.4245, allocations: 0.94 MB / 0.7288 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0008564/0.4254, allocations: 495.8 kB / 0.7293 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008492/0.4263, allocations: 499.4 kB / 0.7298 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0009397/0.4272, allocations: 1.094 MB / 0.7308 GB, free: 16.43 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006203/0.4278, allocations: 0.5004 MB / 0.7313 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007017/0.4285, allocations: 0.6256 MB / 0.7319 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005359/0.4291, allocations: 466 kB / 0.7324 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.952e-05/0.4292, allocations: 58.16 kB / 0.7324 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006415/0.4298, allocations: 449.1 kB / 0.7328 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.43, allocations: 299.1 kB / 0.7331 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.4303, allocations: 329.2 kB / 0.7334 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.4315, allocations: 1.257 MB / 0.7347 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.4315, allocations: 0 / 0.7347 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.485e-06/0.4315, allocations: 0.5156 kB / 0.7347 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.787e-05/0.4315, allocations: 0 / 0.7347 GB, free: 14.88 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001232/0.4328, allocations: 1.007 MB / 0.7357 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.4328, allocations: 8.688 kB / 0.7357 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009822/0.4338, allocations: 222.4 kB / 0.7359 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005955/0.4344, allocations: 0.5175 MB / 0.7364 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.4344, allocations: 47.56 kB / 0.7364 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.402e-05/0.4345, allocations: 61.36 kB / 0.7365 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009668/0.4354, allocations: 1.14 MB / 0.7376 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.4355, allocations: 10.98 kB / 0.7376 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.334e-05/0.4355, allocations: 25.83 kB / 0.7376 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-05/0.4356, allocations: 68.33 kB / 0.7377 GB, free: 13 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007165/0.4363, allocations: 0.6889 MB / 0.7384 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002429/0.4387, allocations: 4.403 MB / 0.7427 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005356/0.4393, allocations: 410.8 kB / 0.7431 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005003/0.4398, allocations: 393.7 kB / 0.7434 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.4398, allocations: 8.625 kB / 0.7435 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/0.4398, allocations: 38.14 kB / 0.7435 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=41): time 2.134e-06/0.4398, allocations: 0 / 0.7435 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42): time 0.002498/0.4423, allocations: 1.7 MB / 0.7451 GB, free: 8.207 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/0.4423, allocations: 61.03 kB / 0.7452 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.4426, allocations: 433.7 kB / 0.7456 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.4427, allocations: 31.14 kB / 0.7456 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.4428, allocations: 401 kB / 0.746 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.148e-05/0.4429, allocations: 155 kB / 0.7462 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.443, allocations: 117.6 kB / 0.7463 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.513e-05/0.443, allocations: 359 kB / 0.7466 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.4433, allocations: 246.8 kB / 0.7469 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.4436, allocations: 457.6 kB / 0.7473 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005766/0.4442, allocations: 0.7423 MB / 0.748 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4442, allocations: 2.844 kB / 0.748 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001136/0.4453, allocations: 1.036 MB / 0.749 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.4453, allocations: 7.844 kB / 0.7491 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.4453, allocations: 10.5 kB / 0.7491 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005969/0.4459, allocations: 315.7 kB / 0.7494 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.4461, allocations: 106.8 kB / 0.7495 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003748/0.4499, allocations: 6.921 MB / 0.7562 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.4502, allocations: 33.06 kB / 0.7563 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.4502, allocations: 26.23 kB / 0.7563 GB, free: 15.85 MB / 0.6511 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003105/0.4505, allocations: 250.6 kB / 0.7565 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.4506, allocations: 62.22 kB / 0.7566 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.4517, allocations: 0.8803 MB / 0.7574 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4517, allocations: 4.312 kB / 0.7574 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4517, allocations: 3.531 kB / 0.7574 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.4517, allocations: 3.547 kB / 0.7574 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.4534, allocations: 1.491 MB / 0.7589 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.4534, allocations: 1.969 kB / 0.7589 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.4535, allocations: 39.03 kB / 0.7589 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005344/0.4541, allocations: 313.2 kB / 0.7592 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.4541, allocations: 16.92 kB / 0.7593 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004549/0.4586, allocations: 6.922 MB / 0.766 GB, free: 8.574 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4586, allocations: 9.062 kB / 0.766 GB, free: 8.566 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.4598, allocations: 0.9715 MB / 0.767 GB, free: 7.938 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.4599, allocations: 91.38 kB / 0.7671 GB, free: 7.883 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.46, allocations: 7.938 kB / 0.7671 GB, free: 7.879 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.4601, allocations: 32.66 kB / 0.7671 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.47e-05/0.4602, allocations: 39.55 kB / 0.7671 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.4602, allocations: 12.59 kB / 0.7672 GB, free: 7.828 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002335/0.4605, allocations: 284.3 kB / 0.7674 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4e-08/0.4605, allocations: 0 / 0.7674 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006426/0.4611, allocations: 192.6 kB / 0.7676 GB, free: 7.633 MB / 0.6511 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001117/0.4612, allocations: 111.7 kB / 0.7677 GB, free: 7.531 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001184/0.4624, allocations: 1.165 MB / 0.7689 GB, free: 6.703 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4624, allocations: 0 / 0.7689 GB, free: 6.703 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007988/0.4632, allocations: 0.8213 MB / 0.7697 GB, free: 6.043 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006268/0.4638, allocations: 212.4 kB / 0.7699 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.4654, allocations: 1.316 MB / 0.7711 GB, free: 5.086 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.4658, allocations: 389.4 kB / 0.7715 GB, free: 4.859 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.965e-05/0.4658, allocations: 37.41 kB / 0.7715 GB, free: 4.852 MB / 0.6511 GB Notification: Performance of SimCode: time 7.12e-07/0.4658, allocations: 0 / 0.7715 GB, free: 4.852 MB / 0.6511 GB Notification: Performance of Templates: time 0.01711/0.4829, allocations: 18.64 MB / 0.7897 GB, free: 8.062 MB / 0.6667 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.456805468071252] Failed to read output from testmodel.py, exit status != 0: 0.49062286620028317 0.502500847 0.06843571700000001 Calling exit ...