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.001567/0.001567, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001714/0.001714, allocations: 159.6 kB / 22.45 MB, free: 5.375 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.461/1.461, allocations: 177.2 MB / 202.8 MB, free: 9.176 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.211/1.211, allocations: 154.6 MB / 413.8 MB, free: 5.223 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.894e-06/1.894e-06, allocations: 0 / 0.6186 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.299e-05/3.489e-05, allocations: 7.109 kB / 0.6186 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008631/0.008666, allocations: 5.203 MB / 0.6237 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004953/0.01362, allocations: 2.589 MB / 0.6262 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005081/0.01413, allocations: 35.69 kB / 0.6262 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002067/0.01619, allocations: 0.6766 MB / 0.6269 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.01733, allocations: 441.3 kB / 0.6273 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.0184, allocations: 402.2 kB / 0.6277 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001361/0.01976, allocations: 0.9825 MB / 0.6287 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00066/0.02042, allocations: 374.5 kB / 0.629 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009067/0.02133, allocations: 0.5259 MB / 0.6295 GB, free: 9.309 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006725/0.022, allocations: 355 kB / 0.6299 GB, free: 8.961 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.02211, allocations: 48 kB / 0.6299 GB, free: 8.914 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006709/0.02278, allocations: 339.1 kB / 0.6302 GB, free: 8.582 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003428/0.02313, allocations: 263.2 kB / 0.6305 GB, free: 8.324 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004057/0.02353, allocations: 235.4 kB / 0.6307 GB, free: 8.094 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.02493, allocations: 0.9968 MB / 0.6317 GB, free: 7.094 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.02494, allocations: 3.984 kB / 0.6317 GB, free: 7.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.133e-06/0.02494, allocations: 0 / 0.6317 GB, free: 7.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.706e-05/0.02497, allocations: 0 / 0.6317 GB, free: 7.09 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.001884/0.02685, allocations: 0.9053 MB / 0.6326 GB, free: 6.152 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.0269, allocations: 12.03 kB / 0.6326 GB, free: 6.141 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.02834, allocations: 208.2 kB / 0.6328 GB, free: 5.938 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008239/0.02916, allocations: 462.8 kB / 0.6332 GB, free: 5.465 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.223e-05/0.02921, allocations: 33.38 kB / 0.6332 GB, free: 5.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.02937, allocations: 56.5 kB / 0.6333 GB, free: 5.375 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.0307, allocations: 0.9789 MB / 0.6343 GB, free: 4.281 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.03073, allocations: 12.11 kB / 0.6343 GB, free: 4.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-05/0.03079, allocations: 24.12 kB / 0.6343 GB, free: 4.246 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001874/0.03098, allocations: 64.95 kB / 0.6344 GB, free: 4.184 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009322/0.03191, allocations: 0.5736 MB / 0.6349 GB, free: 3.609 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004183/0.03609, allocations: 3.472 MB / 0.6383 GB, free: 8 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004992/0.03659, allocations: 271.3 kB / 0.6386 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003215/0.03691, allocations: 213.3 kB / 0.6388 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.03694, allocations: 8.219 kB / 0.6388 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.03697, allocations: 30.84 kB / 0.6388 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 3.497e-06/0.03697, allocations: 7.984 kB / 0.6388 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.005683/0.04266, allocations: 2.329 MB / 0.6411 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.0427, allocations: 59.41 kB / 0.6411 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004931/0.0432, allocations: 429.7 kB / 0.6416 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.511e-05/0.04324, allocations: 33.7 kB / 0.6416 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.04349, allocations: 344.5 kB / 0.6419 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.04363, allocations: 154.7 kB / 0.6421 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.04381, allocations: 102.3 kB / 0.6422 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.04399, allocations: 362.7 kB / 0.6425 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.04438, allocations: 237.2 kB / 0.6427 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005189/0.04489, allocations: 415.3 kB / 0.6431 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009443/0.04584, allocations: 0.674 MB / 0.6438 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.04584, allocations: 0 / 0.6438 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001774/0.04762, allocations: 0.9171 MB / 0.6447 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.04763, allocations: 4 kB / 0.6447 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.04765, allocations: 8 kB / 0.6447 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008274/0.04847, allocations: 231 kB / 0.6449 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/0.04899, allocations: 111.8 kB / 0.645 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005637/0.05462, allocations: 4.93 MB / 0.6498 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/0.0551, allocations: 27.98 kB / 0.6499 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.166e-05/0.05515, allocations: 36.05 kB / 0.6499 GB, free: 3.539 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.0003111/0.05546, allocations: 222.5 kB / 0.6501 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.482e-05/0.05555, allocations: 55.67 kB / 0.6502 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.05715, allocations: 0.7616 MB / 0.6509 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.05716, allocations: 4 kB / 0.6509 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.05716, allocations: 4 kB / 0.6509 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.05717, allocations: 0 / 0.6509 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/0.05966, allocations: 1.33 MB / 0.6522 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.05966, allocations: 4 kB / 0.6522 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003897/0.06005, allocations: 67.89 kB / 0.6523 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007218/0.06078, allocations: 206.6 kB / 0.6525 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-05/0.06081, allocations: 11.98 kB / 0.6525 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005407/0.06622, allocations: 4.859 MB / 0.6572 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.06622, allocations: 4.031 kB / 0.6572 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.06818, allocations: 1.124 MB / 0.6583 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002046/0.06838, allocations: 87.62 kB / 0.6584 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.789e-05/0.06846, allocations: 23.86 kB / 0.6584 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/0.06882, allocations: 23.97 kB / 0.6585 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.63e-05/0.06891, allocations: 35.88 kB / 0.6585 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.863e-05/0.06895, allocations: 16 kB / 0.6585 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003264/0.06928, allocations: 283.1 kB / 0.6588 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.06928, allocations: 4.062 kB / 0.6588 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006631/0.06994, allocations: 164 kB / 0.6589 GB, free: 9.812 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.0001813/0.07012, allocations: 115.3 kB / 0.6591 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001685/0.07181, allocations: 0.9612 MB / 0.66 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.07181, allocations: 7.938 kB / 0.66 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.07284, allocations: 0.6564 MB / 0.6606 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008676/0.07371, allocations: 177.7 kB / 0.6608 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.0757, allocations: 1.204 MB / 0.662 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.07607, allocations: 350 kB / 0.6623 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002956/0.07637, allocations: 116.7 kB / 0.6624 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.07647, allocations: 40.5 kB / 0.6625 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/0.07647, allocations: 0 / 0.6625 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of Templates: time 0.01712/0.0936, allocations: 9.013 MB / 0.6713 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: 6.067206405103207] Failed to read output from testmodel.py, exit status != 0: 0.10338347032666206 0.117510237 0.089373222 Calling exit ...