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.001071/0.001071, allocations: 76.45 kB / 19.9 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.001353/0.001353, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.9238/0.9238, allocations: 177.2 MB / 203.6 MB, free: 5.746 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.7505/0.7505, allocations: 154.7 MB / 414.7 MB, free: 0.7461 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.0009818/0.0009818, allocations: 71.91 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.5195/0.5204, allocations: 102 MB / 0.7191 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.008196/0.5286, allocations: 10.23 MB / 0.7291 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.009919/0.5386, allocations: 8.433 MB / 0.7373 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007992/0.5394, allocations: 82.19 kB / 0.7374 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002305/0.5417, allocations: 1.666 MB / 0.739 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003021/0.5447, allocations: 1.582 MB / 0.7406 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.546, allocations: 0.6784 MB / 0.7412 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001893/0.5479, allocations: 2.286 MB / 0.7435 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.549, allocations: 1.145 MB / 0.7446 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/0.5503, allocations: 1.424 MB / 0.746 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.5513, allocations: 1.001 MB / 0.747 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001638/0.5514, allocations: 137.6 kB / 0.7471 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.5526, allocations: 0.7467 MB / 0.7478 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004256/0.553, allocations: 0.5777 MB / 0.7484 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005518/0.5536, allocations: 0.7214 MB / 0.7491 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002336/0.5559, allocations: 2.605 MB / 0.7516 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5559, allocations: 5.438 kB / 0.7516 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5559, allocations: 0 / 0.7516 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.006e-05/0.5559, allocations: 0.5156 kB / 0.7516 GB, free: 5.016 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.002094/0.558, allocations: 1.993 MB / 0.7536 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.5581, allocations: 9.719 kB / 0.7536 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005985/0.5641, allocations: 2.061 MB / 0.7556 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.5658, allocations: 1.138 MB / 0.7567 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.226e-05/0.5659, allocations: 90.12 kB / 0.7568 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/0.5661, allocations: 118.7 kB / 0.7569 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003711/0.5698, allocations: 2.881 MB / 0.7597 GB, free: 24 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.774e-05/0.5699, allocations: 15.19 kB / 0.7598 GB, free: 12 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/0.57, allocations: 62.94 kB / 0.7598 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002684/0.5703, allocations: 131 kB / 0.7599 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004835/0.5751, allocations: 2.535 MB / 0.7624 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007476/0.5826, allocations: 7.434 MB / 0.7697 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003291/0.5859, allocations: 1.837 MB / 0.7715 GB, free: 7.996 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/0.5874, allocations: 0.9441 MB / 0.7724 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.5874, allocations: 5 kB / 0.7724 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000505/0.5879, allocations: 39.12 kB / 0.7724 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 2.505e-06/0.5879, allocations: 0 / 0.7724 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.01672/0.6047, allocations: 8.64 MB / 0.7809 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.6047, allocations: 60.06 kB / 0.7809 GB, free: 2.203 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008877/0.6056, allocations: 0.9593 MB / 0.7819 GB, free: 1.23 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.223e-05/0.6056, allocations: 41.7 kB / 0.7819 GB, free: 1.184 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003596/0.606, allocations: 0.7619 MB / 0.7826 GB, free: 424 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003967/0.6064, allocations: 301.4 kB / 0.7829 GB, free: 120 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002554/0.6067, allocations: 198.5 kB / 0.7831 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.6068, allocations: 345.9 kB / 0.7835 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/0.6083, allocations: 1.071 MB / 0.7845 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.61, allocations: 1.309 MB / 0.7858 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003241/0.6133, allocations: 2.386 MB / 0.7881 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.6133, allocations: 4 kB / 0.7881 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004848/0.6181, allocations: 3.234 MB / 0.7913 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.6181, allocations: 8 kB / 0.7913 GB, free: 7.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.6181, allocations: 8.844 kB / 0.7913 GB, free: 7.332 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001447/0.6196, allocations: 0.7832 MB / 0.792 GB, free: 6.523 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009679/0.6205, allocations: 419.3 kB / 0.7924 GB, free: 6.113 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/0.6306, allocations: 14.81 MB / 0.8069 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.6318, allocations: 291.5 kB / 0.8072 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.286e-05/0.6319, allocations: 56.03 kB / 0.8072 GB, free: 6.129 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.000651/0.6326, allocations: 400.4 kB / 0.8076 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.6327, allocations: 139.1 kB / 0.8078 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004769/0.6375, allocations: 3.169 MB / 0.8109 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.6375, allocations: 8 kB / 0.8109 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.6375, allocations: 8 kB / 0.8109 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.6375, allocations: 3.984 kB / 0.8109 GB, free: 2.367 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005897/0.6434, allocations: 4.469 MB / 0.8152 GB, free: 13.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.6434, allocations: 8.062 kB / 0.8152 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007777/0.6442, allocations: 347.4 kB / 0.8156 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001188/0.6454, allocations: 0.6935 MB / 0.8163 GB, free: 12.74 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.928e-05/0.6454, allocations: 31.97 kB / 0.8163 GB, free: 12.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008483/0.6539, allocations: 14.44 MB / 0.8304 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.6539, allocations: 4.031 kB / 0.8304 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004323/0.6582, allocations: 3.008 MB / 0.8333 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004882/0.6587, allocations: 310.8 kB / 0.8336 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.6588, allocations: 16 kB / 0.8336 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009241/0.6597, allocations: 291.5 kB / 0.8339 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.6599, allocations: 80.45 kB / 0.834 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.204e-05/0.66, allocations: 47.89 kB / 0.834 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005869/0.6606, allocations: 0.6307 MB / 0.8347 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.6606, allocations: 0 / 0.8347 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001157/0.6617, allocations: 428 kB / 0.8351 GB, free: 8.574 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.0001947/0.6619, allocations: 130.6 kB / 0.8352 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004509/0.6664, allocations: 3.508 MB / 0.8386 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6664, allocations: 0 / 0.8386 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002469/0.6689, allocations: 2.332 MB / 0.8409 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.6702, allocations: 484.4 kB / 0.8414 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004289/0.6745, allocations: 3.485 MB / 0.8448 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005991/0.6751, allocations: 0.8015 MB / 0.8455 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0008357/0.6759, allocations: 358.6 kB / 0.8459 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003148/0.6762, allocations: 96.44 kB / 0.846 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of SimCode: time 9.62e-07/0.6762, allocations: 4 kB / 0.846 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of Templates: time 0.03098/0.7072, allocations: 30.98 MB / 0.8762 GB, free: 14.78 MB / 0.7605 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.056474072043784] Failed to read output from testmodel.py, exit status != 0: 0.7135662329383194 0.723020929 0.164982492 Calling exit ...