Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009553/0.0009553, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0009363/0.0009363, allocations: 169 kB / 23.49 MB, free: 1.055 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.9083/0.9083, allocations: 177.1 MB / 203.8 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001648/0.001648, allocations: 233.9 kB / 260.5 MB, free: 12.87 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7065/0.7065, allocations: 138.4 MB / 455.4 MB, free: 1.566 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.555 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.58e-05, allocations: 5.547 kB / 0.555 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005104/0.00513, allocations: 5.538 MB / 0.5604 GB, free: 11.34 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003084/0.008213, allocations: 2.696 MB / 0.5631 GB, free: 8.629 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002669/0.00848, allocations: 35.69 kB / 0.5631 GB, free: 8.594 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009789/0.009459, allocations: 0.6884 MB / 0.5638 GB, free: 7.902 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006664/0.01013, allocations: 441.2 kB / 0.5642 GB, free: 7.469 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006172/0.01074, allocations: 402.8 kB / 0.5646 GB, free: 7.074 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007959/0.01154, allocations: 0.9785 MB / 0.5655 GB, free: 6.094 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004377/0.01198, allocations: 374.5 kB / 0.5659 GB, free: 5.723 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005394/0.01252, allocations: 0.5298 MB / 0.5664 GB, free: 5.191 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003829/0.0129, allocations: 366.9 kB / 0.5668 GB, free: 4.832 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.322e-05/0.01295, allocations: 48 kB / 0.5668 GB, free: 4.785 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000384/0.01334, allocations: 335.1 kB / 0.5671 GB, free: 4.457 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.01352, allocations: 267.2 kB / 0.5674 GB, free: 4.195 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.0137, allocations: 239.4 kB / 0.5676 GB, free: 3.961 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006649/0.01437, allocations: 0.7163 MB / 0.5683 GB, free: 3.242 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.01437, allocations: 0 / 0.5683 GB, free: 3.242 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01437, allocations: 7.875 kB / 0.5683 GB, free: 3.234 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.01438, allocations: 0 / 0.5683 GB, free: 3.234 MB / 490.7 MB 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.0009851/0.01536, allocations: 1.009 MB / 0.5693 GB, free: 2.188 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.0154, allocations: 16.75 kB / 0.5693 GB, free: 2.172 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009923/0.01639, allocations: 283.9 kB / 0.5696 GB, free: 1.895 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005585/0.01695, allocations: 481.7 kB / 0.57 GB, free: 1.395 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.01697, allocations: 37.36 kB / 0.5701 GB, free: 1.355 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.01708, allocations: 56.55 kB / 0.5701 GB, free: 1.301 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006551/0.01774, allocations: 0.798 MB / 0.5709 GB, free: 368 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.01776, allocations: 4.188 kB / 0.5709 GB, free: 364 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.0178, allocations: 28.11 kB / 0.5709 GB, free: 336 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001151/0.01791, allocations: 64.95 kB / 0.571 GB, free: 272 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003865/0.0183, allocations: 285.4 kB / 0.5713 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002613/0.02091, allocations: 4.407 MB / 0.5756 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.02116, allocations: 163.8 kB / 0.5757 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.02128, allocations: 96.22 kB / 0.5758 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.0213, allocations: 12.16 kB / 0.5758 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.02132, allocations: 45.66 kB / 0.5759 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 2.074e-06/0.02133, allocations: 0 / 0.5759 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=40): time 0.002722/0.02405, allocations: 1.532 MB / 0.5774 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.02407, allocations: 59.39 kB / 0.5774 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.02438, allocations: 450.5 kB / 0.5779 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.02441, allocations: 41.7 kB / 0.5779 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.02457, allocations: 399.1 kB / 0.5783 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.483e-05/0.02466, allocations: 150.7 kB / 0.5784 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.02477, allocations: 108 kB / 0.5785 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.02491, allocations: 0.5352 MB / 0.5791 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.02506, allocations: 101.2 kB / 0.5792 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.02536, allocations: 347.3 kB / 0.5795 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004408/0.0258, allocations: 488.4 kB / 0.58 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.0258, allocations: 4 kB / 0.58 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008488/0.02665, allocations: 0.6372 MB / 0.5806 GB, free: 5.938 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.02667, allocations: 10.81 kB / 0.5806 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.02668, allocations: 8 kB / 0.5806 GB, free: 5.922 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008293/0.0275, allocations: 219 kB / 0.5808 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.02778, allocations: 115.8 kB / 0.5809 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002808/0.03059, allocations: 5.642 MB / 0.5864 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.03079, allocations: 31.97 kB / 0.5865 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.03082, allocations: 31.94 kB / 0.5865 GB, free: 15.5 MB / 0.5105 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.0001361/0.03095, allocations: 196.5 kB / 0.5867 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.985e-05/0.03102, allocations: 67.67 kB / 0.5867 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000692/0.03172, allocations: 0.4926 MB / 0.5872 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.03172, allocations: 7.984 kB / 0.5872 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.03172, allocations: 7.984 kB / 0.5872 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.03173, allocations: 0 / 0.5872 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.03309, allocations: 1.06 MB / 0.5883 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.03309, allocations: 0 / 0.5883 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.03341, allocations: 75.88 kB / 0.5883 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007692/0.03418, allocations: 207.1 kB / 0.5885 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.03422, allocations: 12 kB / 0.5886 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002755/0.03697, allocations: 5.634 MB / 0.5941 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.03697, allocations: 0 / 0.5941 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008303/0.0378, allocations: 0.7574 MB / 0.5948 GB, free: 6.434 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.03791, allocations: 87.62 kB / 0.5949 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.03795, allocations: 11.94 kB / 0.5949 GB, free: 6.336 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.03811, allocations: 23.97 kB / 0.5949 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.719e-05/0.03819, allocations: 39.88 kB / 0.595 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.03821, allocations: 16.14 kB / 0.595 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001691/0.03838, allocations: 291.1 kB / 0.5952 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.03838, allocations: 0 / 0.5952 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004009/0.03878, allocations: 171.9 kB / 0.5954 GB, free: 5.805 MB / 0.5105 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.0001039/0.03888, allocations: 119.2 kB / 0.5955 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008672/0.03975, allocations: 0.9172 MB / 0.5964 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.03975, allocations: 0 / 0.5964 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004763/0.04023, allocations: 0.7394 MB / 0.5971 GB, free: 3.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.04073, allocations: 166.2 kB / 0.5973 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.04212, allocations: 1.146 MB / 0.5984 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.04225, allocations: 182.4 kB / 0.5986 GB, free: 2.344 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001902/0.04244, allocations: 88.77 kB / 0.5987 GB, free: 2.254 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.652e-05/0.04251, allocations: 32.5 kB / 0.5987 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of SimCode: time 7.92e-07/0.04251, allocations: 0 / 0.5987 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of Templates: time 0.1592/0.2017, allocations: 9.208 MB / 0.6077 GB, free: 98.77 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8071199769619852]