Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0007572/0.0007572, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001046/0.001803, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007154/0.0007154, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008639/0.001579, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9529/0.9529, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09688/1.05, allocations: 53.64 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.825/1.825, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4715/2.297, allocations: 127.1 MB / 0.7432 GB, free: 4.613 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.7445 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.193e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005924/0.005946, allocations: 4.167 MB / 0.7485 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002843/0.008788, allocations: 1.586 MB / 0.7501 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002807/0.009069, allocations: 31.69 kB / 0.7501 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005407/0.00961, allocations: 186.8 kB / 0.7503 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000703/0.01031, allocations: 420.4 kB / 0.7507 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006386/0.01095, allocations: 311.3 kB / 0.751 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001292/0.01224, allocations: 1.053 MB / 0.752 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005299/0.01277, allocations: 379.2 kB / 0.7524 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007467/0.01352, allocations: 0.5749 MB / 0.7529 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005766/0.0141, allocations: 402.9 kB / 0.7533 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 7.474e-05/0.01417, allocations: 51.94 kB / 0.7534 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.01444, allocations: 123.8 kB / 0.7535 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.01466, allocations: 235.4 kB / 0.7537 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002357/0.0149, allocations: 197.7 kB / 0.7539 GB, free: 9.688 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0006517/0.01555, allocations: 0.5643 MB / 0.7545 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.81e-05/0.01557, allocations: 4 kB / 0.7545 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.092e-06/0.01557, allocations: 0 / 0.7545 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.06e-05/0.01559, allocations: 0 / 0.7545 GB, free: 9.117 MB / 0.7292 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.001307/0.0169, allocations: 0.9918 MB / 0.7554 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.01693, allocations: 8.625 kB / 0.7554 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.01797, allocations: 310.2 kB / 0.7557 GB, free: 7.773 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005722/0.01855, allocations: 437.9 kB / 0.7562 GB, free: 7.328 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.01857, allocations: 46.05 kB / 0.7562 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.01868, allocations: 56.5 kB / 0.7563 GB, free: 7.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004952/0.01918, allocations: 0.6943 MB / 0.7569 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.01919, allocations: 12.11 kB / 0.7569 GB, free: 6.402 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.605e-05/0.01923, allocations: 28.12 kB / 0.757 GB, free: 6.375 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/0.01933, allocations: 60.95 kB / 0.757 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.01956, allocations: 207.7 kB / 0.7572 GB, free: 6.117 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.02144, allocations: 3.027 MB / 0.7602 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.02161, allocations: 165.3 kB / 0.7603 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.48e-05/0.02168, allocations: 65.41 kB / 0.7604 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.02171, allocations: 4.281 kB / 0.7604 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.02173, allocations: 38.84 kB / 0.7604 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 1.764e-06/0.02173, allocations: 1.094 kB / 0.7604 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34): time 0.001616/0.02335, allocations: 0.9859 MB / 0.7614 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.02337, allocations: 56.19 kB / 0.7615 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.02358, allocations: 395 kB / 0.7618 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.0236, allocations: 34.64 kB / 0.7619 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.02373, allocations: 321.2 kB / 0.7622 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.422e-05/0.02379, allocations: 126.9 kB / 0.7623 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.061e-05/0.02388, allocations: 91.16 kB / 0.7624 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.02398, allocations: 366.6 kB / 0.7627 GB, free: 280 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.711e-05/0.02405, allocations: 64.95 kB / 0.7628 GB, free: 216 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.02421, allocations: 224.4 kB / 0.763 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.02447, allocations: 351 kB / 0.7633 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.02447, allocations: 4 kB / 0.7633 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.000459/0.02493, allocations: 427.5 kB / 0.7638 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.02495, allocations: 6.969 kB / 0.7638 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.02496, allocations: 8 kB / 0.7638 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003733/0.02533, allocations: 151.6 kB / 0.7639 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.02561, allocations: 119.5 kB / 0.764 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/0.02712, allocations: 2.644 MB / 0.7666 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.02727, allocations: 16 kB / 0.7666 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.02729, allocations: 19.98 kB / 0.7666 GB, free: 11.94 MB / 0.7448 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.02741, allocations: 153.3 kB / 0.7668 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/0.02746, allocations: 41.92 kB / 0.7668 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003883/0.02784, allocations: 317.9 kB / 0.7671 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.02785, allocations: 4.656 kB / 0.7671 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.02785, allocations: 0 / 0.7671 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.02785, allocations: 12.58 kB / 0.7672 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006936/0.02855, allocations: 0.6803 MB / 0.7678 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.02855, allocations: 0 / 0.7678 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.02873, allocations: 68.92 kB / 0.7679 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.28e-05/0.02881, allocations: 71.56 kB / 0.7679 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003318/0.02914, allocations: 141 kB / 0.7681 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.02916, allocations: 8.812 kB / 0.7681 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/0.03052, allocations: 2.643 MB / 0.7707 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.03052, allocations: 7.938 kB / 0.7707 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004766/0.031, allocations: 0.5194 MB / 0.7712 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/0.03103, allocations: 8 kB / 0.7712 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.03115, allocations: 12.89 kB / 0.7712 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.03119, allocations: 27.95 kB / 0.7712 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.03121, allocations: 8.812 kB / 0.7712 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.602e-05/0.0313, allocations: 160.7 kB / 0.7714 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.0313, allocations: 1.062 kB / 0.7714 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003151/0.03162, allocations: 156 kB / 0.7715 GB, free: 6.625 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001054/0.03173, allocations: 94.38 kB / 0.7716 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004971/0.03222, allocations: 0.5202 MB / 0.7721 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.698e-05/0.03224, allocations: 16.98 kB / 0.7722 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002681/0.03251, allocations: 389.6 kB / 0.7725 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.03293, allocations: 203.1 kB / 0.7727 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003799/0.03673, allocations: 1.086 MB / 0.7738 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.03683, allocations: 170.3 kB / 0.7739 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000157/0.03699, allocations: 70.39 kB / 0.774 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.03721, allocations: 169.3 kB / 0.7742 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of SimCode: time 7.72e-07/0.03722, allocations: 1.219 kB / 0.7742 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of Templates: time 0.0103/0.04751, allocations: 8.893 MB / 0.7829 GB, free: 11.18 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.951298710890114]