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.0007617/0.0007617, 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.0008079/0.0008079, 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.9102/0.9102, allocations: 177.2 MB / 203.6 MB, free: 5.379 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.7164/0.7164, allocations: 154.7 MB / 414.7 MB, free: 0.6445 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_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: 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.0009655/0.0009655, allocations: 68.41 kB / 0.6196 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.4331/0.4341, 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_R): time 0.005759/0.4398, allocations: 6.416 MB / 0.7254 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004139/0.444, allocations: 3.006 MB / 0.7283 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005155/0.4445, allocations: 39.59 kB / 0.7284 GB, free: 17.63 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.4458, allocations: 0.9567 MB / 0.7293 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.4469, allocations: 0.5222 MB / 0.7298 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009624/0.4479, allocations: 430.7 kB / 0.7302 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001099/0.449, allocations: 1.229 MB / 0.7314 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000658/0.4496, allocations: 0.5264 MB / 0.7319 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007481/0.4504, allocations: 0.6843 MB / 0.7326 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005813/0.451, allocations: 0.5116 MB / 0.7331 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 8.272e-05/0.4511, allocations: 66.47 kB / 0.7332 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006133/0.4517, allocations: 343.2 kB / 0.7335 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002804/0.4519, allocations: 310.7 kB / 0.7338 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002708/0.4522, allocations: 379.3 kB / 0.7341 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.4535, allocations: 1.31 MB / 0.7354 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4535, allocations: 4.656 kB / 0.7354 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4535, allocations: 1.812 kB / 0.7354 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.4535, allocations: 0 / 0.7354 GB, free: 14.37 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001338/0.4549, allocations: 1.106 MB / 0.7365 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.4549, allocations: 9.531 kB / 0.7365 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009877/0.4559, allocations: 242.6 kB / 0.7367 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006566/0.4566, allocations: 0.5261 MB / 0.7373 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.4566, allocations: 48.33 kB / 0.7373 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.207e-05/0.4567, allocations: 66.73 kB / 0.7374 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.4579, allocations: 1.333 MB / 0.7387 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.4579, allocations: 7.062 kB / 0.7387 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.151e-05/0.458, allocations: 37.55 kB / 0.7387 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/0.4581, allocations: 83.7 kB / 0.7388 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008601/0.459, allocations: 0.7478 MB / 0.7395 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002933/0.4619, allocations: 4.524 MB / 0.7439 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007244/0.4626, allocations: 0.5225 MB / 0.7445 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.4629, allocations: 287.4 kB / 0.7447 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.4629, allocations: 6 kB / 0.7447 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.463, allocations: 39.44 kB / 0.7448 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 2.775e-06/0.463, allocations: 0 / 0.7448 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.002502/0.4655, allocations: 1.68 MB / 0.7464 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.4655, allocations: 57.73 kB / 0.7465 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004506/0.4659, allocations: 0.5103 MB / 0.747 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.466, allocations: 36.2 kB / 0.747 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.4661, allocations: 430.3 kB / 0.7474 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.184e-05/0.4662, allocations: 179.2 kB / 0.7476 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.4663, allocations: 125.7 kB / 0.7477 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.598e-05/0.4664, allocations: 371.4 kB / 0.7481 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/0.4667, allocations: 274.8 kB / 0.7483 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.4671, allocations: 492.7 kB / 0.7488 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006875/0.4677, allocations: 0.8075 MB / 0.7496 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.4678, allocations: 2.656 kB / 0.7496 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001228/0.469, allocations: 1.074 MB / 0.7506 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.469, allocations: 12.16 kB / 0.7506 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.469, allocations: 7.531 kB / 0.7506 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005777/0.4696, allocations: 276.9 kB / 0.7509 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/0.4699, allocations: 125.7 kB / 0.751 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003888/0.4738, allocations: 6.594 MB / 0.7575 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000439/0.4742, allocations: 40.19 kB / 0.7575 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.4743, allocations: 28.42 kB / 0.7575 GB, free: 15 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 (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.0003664/0.4746, allocations: 256.3 kB / 0.7578 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.258e-05/0.4747, allocations: 69.81 kB / 0.7578 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.4758, allocations: 0.8736 MB / 0.7587 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.4758, allocations: 5.156 kB / 0.7587 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4758, allocations: 7.875 kB / 0.7587 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.4758, allocations: 2.625 kB / 0.7587 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/0.4778, allocations: 1.536 MB / 0.7602 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4778, allocations: 1.562 kB / 0.7602 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.4779, allocations: 56.56 kB / 0.7603 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004833/0.4784, allocations: 266 kB / 0.7605 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.4784, allocations: 12.98 kB / 0.7605 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004532/0.483, allocations: 6.589 MB / 0.767 GB, free: 7.824 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.483, allocations: 2.688 kB / 0.767 GB, free: 7.824 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.4841, allocations: 0.9725 MB / 0.7679 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.4843, allocations: 115.5 kB / 0.768 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.4843, allocations: 12.22 kB / 0.768 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.4845, allocations: 28.19 kB / 0.7681 GB, free: 7.098 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.813e-05/0.4846, allocations: 43.64 kB / 0.7681 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.4846, allocations: 19.91 kB / 0.7681 GB, free: 7.062 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002994/0.4849, allocations: 341.3 kB / 0.7685 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4849, allocations: 0 / 0.7685 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007016/0.4856, allocations: 223.4 kB / 0.7687 GB, free: 6.836 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 (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.0001309/0.4858, allocations: 113 kB / 0.7688 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001319/0.4871, allocations: 1.232 MB / 0.77 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4871, allocations: 1.688 kB / 0.77 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007615/0.4878, allocations: 0.8661 MB / 0.7708 GB, free: 5.199 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006507/0.4885, allocations: 213.2 kB / 0.771 GB, free: 5.086 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.4903, allocations: 1.41 MB / 0.7724 GB, free: 4.18 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.4906, allocations: 418.7 kB / 0.7728 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.4907, allocations: 46.89 kB / 0.7729 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/0.4907, allocations: 0 / 0.7729 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of Templates: time 0.01762/0.5084, allocations: 20.7 MB / 0.7931 GB, free: 4.621 MB / 0.6667 GB " [Timeout remaining time 659] 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: 7.76149200508371] Failed to read output from testmodel.py, exit status != 0: 0.5146175820846111 0.523384357 0.068085749 Calling exit ...