Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.001389/0.001389, allocations: 82.56 kB / 19.18 MB, free: 2.363 MB / 14.72 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.001437/0.001437, allocations: 169.5 kB / 22.46 MB, free: 4.984 MB / 14.72 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 1.383/1.383, allocations: 177.2 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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 1.214/1.214, allocations: 154.7 MB / 413.9 MB, free: 5.188 MB / 382.1 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 178] 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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.6187 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.474e-05, allocations: 2.281 kB / 0.6187 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007412/0.007437, allocations: 5.194 MB / 0.6238 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004819/0.01226, allocations: 2.591 MB / 0.6264 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003245/0.01258, allocations: 27.75 kB / 0.6264 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.01444, allocations: 0.6842 MB / 0.627 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.01547, allocations: 425.5 kB / 0.6275 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.01652, allocations: 398.8 kB / 0.6278 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001099/0.01761, allocations: 0.9593 MB / 0.6288 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005885/0.0182, allocations: 374.5 kB / 0.6291 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007325/0.01894, allocations: 0.5104 MB / 0.6296 GB, free: 9.391 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005577/0.01949, allocations: 363 kB / 0.63 GB, free: 9.035 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.4e-05/0.01958, allocations: 48 kB / 0.63 GB, free: 8.988 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006403/0.02022, allocations: 339.1 kB / 0.6303 GB, free: 8.656 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002976/0.02052, allocations: 247.2 kB / 0.6306 GB, free: 8.414 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002941/0.02081, allocations: 235.5 kB / 0.6308 GB, free: 8.184 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.02201, allocations: 1.001 MB / 0.6318 GB, free: 7.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.02202, allocations: 7.938 kB / 0.6318 GB, free: 7.172 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.02202, allocations: 0 / 0.6318 GB, free: 7.172 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.02203, allocations: 0 / 0.6318 GB, free: 7.172 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001589/0.02362, allocations: 0.9053 MB / 0.6327 GB, free: 6.234 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.02366, allocations: 12.03 kB / 0.6327 GB, free: 6.223 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.02498, allocations: 204.2 kB / 0.6329 GB, free: 6.023 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008073/0.02579, allocations: 462.8 kB / 0.6333 GB, free: 5.551 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.379e-05/0.02584, allocations: 33.38 kB / 0.6333 GB, free: 5.516 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.02605, allocations: 68.47 kB / 0.6334 GB, free: 5.449 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.02733, allocations: 0.9828 MB / 0.6344 GB, free: 4.352 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.02735, allocations: 4.188 kB / 0.6344 GB, free: 4.348 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.175e-05/0.02741, allocations: 28.12 kB / 0.6344 GB, free: 4.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001893/0.0276, allocations: 60.95 kB / 0.6345 GB, free: 4.262 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008964/0.0285, allocations: 0.5735 MB / 0.635 GB, free: 3.688 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004056/0.03256, allocations: 3.468 MB / 0.6384 GB, free: 92 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005115/0.03307, allocations: 271.3 kB / 0.6387 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.03339, allocations: 213.3 kB / 0.6389 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.03342, allocations: 12.16 kB / 0.6389 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.03346, allocations: 34.84 kB / 0.6389 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.463e-06/0.03346, allocations: 0 / 0.6389 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.005451/0.03891, allocations: 2.333 MB / 0.6412 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.03896, allocations: 59.34 kB / 0.6413 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/0.03942, allocations: 429.7 kB / 0.6417 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.03946, allocations: 37.69 kB / 0.6417 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/0.03971, allocations: 348.5 kB / 0.642 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.03984, allocations: 154.7 kB / 0.6422 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.04, allocations: 102.3 kB / 0.6423 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.04017, allocations: 362.7 kB / 0.6426 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/0.04054, allocations: 237.2 kB / 0.6428 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005179/0.04106, allocations: 407.4 kB / 0.6432 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009292/0.04199, allocations: 0.6778 MB / 0.6439 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.04199, allocations: 0 / 0.6439 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001699/0.04369, allocations: 0.9136 MB / 0.6448 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.04371, allocations: 13.86 kB / 0.6448 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.04372, allocations: 4 kB / 0.6448 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007875/0.04451, allocations: 222.7 kB / 0.645 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/0.04503, allocations: 111.8 kB / 0.6451 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005313/0.05035, allocations: 4.938 MB / 0.6499 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004348/0.05078, allocations: 27.97 kB / 0.65 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.384e-05/0.05082, allocations: 27.94 kB / 0.65 GB, free: 3.621 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.000324/0.05115, allocations: 234.5 kB / 0.6502 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-05/0.05124, allocations: 55.67 kB / 0.6503 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/0.05279, allocations: 0.7498 MB / 0.651 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.0528, allocations: 7.938 kB / 0.651 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.05281, allocations: 8 kB / 0.651 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.05281, allocations: 3.984 kB / 0.651 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002394/0.05521, allocations: 1.33 MB / 0.6523 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.05521, allocations: 0 / 0.6523 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003844/0.05559, allocations: 75.88 kB / 0.6524 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006874/0.05628, allocations: 206.6 kB / 0.6526 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.05631, allocations: 12 kB / 0.6526 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005066/0.06138, allocations: 4.863 MB / 0.6574 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.06139, allocations: 4.031 kB / 0.6574 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.06325, allocations: 1.12 MB / 0.6585 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.06347, allocations: 87.66 kB / 0.6585 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.161e-05/0.06353, allocations: 15.88 kB / 0.6586 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.06385, allocations: 27.97 kB / 0.6586 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.658e-05/0.06394, allocations: 35.94 kB / 0.6586 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.06397, allocations: 16.17 kB / 0.6586 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003209/0.06429, allocations: 279.1 kB / 0.6589 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.06429, allocations: 0 / 0.6589 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006919/0.06498, allocations: 168 kB / 0.6591 GB, free: 9.887 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001562/0.06514, allocations: 115.2 kB / 0.6592 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001605/0.06674, allocations: 0.9612 MB / 0.6601 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.06675, allocations: 128 / 0.6601 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009695/0.06771, allocations: 0.6679 MB / 0.6608 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008228/0.06854, allocations: 174.7 kB / 0.6609 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.07052, allocations: 1.195 MB / 0.6621 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.0709, allocations: 354 kB / 0.6624 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003111/0.07121, allocations: 112.8 kB / 0.6625 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.07131, allocations: 40.44 kB / 0.6626 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.07131, allocations: 0 / 0.6626 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of Templates: time 0.01648/0.08779, allocations: 9.098 MB / 0.6715 GB, free: 13.27 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.90596903860569] Failed to read output from testmodel.py, exit status != 0: 0.09651930443942547 0.11051558800000001 0.08520844100000001 Calling exit ...