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.001477/0.001477, allocations: 92.22 kB / 19.65 MB, free: 276 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.001617/0.001617, allocations: 173 kB / 23.02 MB, free: 1.547 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.8927/0.8927, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.001651/0.001651, allocations: 237.5 kB / 260.2 MB, free: 12.82 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.68/0.68, allocations: 138.4 MB / 455.2 MB, free: 30.07 MB / 410.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.513e-06/1.513e-06, allocations: 0 / 0.5551 GB, free: 156 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.402e-05/1.553e-05, allocations: 5.828 kB / 0.5551 GB, free: 152 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.003655/0.003671, allocations: 4.096 MB / 0.5591 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.005521, allocations: 1.532 MB / 0.5606 GB, free: 10.48 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.005708, allocations: 27.75 kB / 0.5606 GB, free: 10.46 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004732/0.006181, allocations: 170.7 kB / 0.5608 GB, free: 10.29 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004558/0.006637, allocations: 365.7 kB / 0.5611 GB, free: 9.93 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.007063, allocations: 331.2 kB / 0.5614 GB, free: 9.605 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006058/0.007669, allocations: 0.9825 MB / 0.5624 GB, free: 8.621 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003755/0.008045, allocations: 390.5 kB / 0.5628 GB, free: 8.23 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004143/0.008459, allocations: 0.5105 MB / 0.5633 GB, free: 7.719 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00036/0.008819, allocations: 386.9 kB / 0.5636 GB, free: 7.34 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.308e-05/0.008872, allocations: 48 kB / 0.5637 GB, free: 7.293 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.009032, allocations: 131.7 kB / 0.5638 GB, free: 7.164 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.009184, allocations: 259.2 kB / 0.5641 GB, free: 6.91 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.009349, allocations: 243.4 kB / 0.5643 GB, free: 6.672 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004723/0.009821, allocations: 0.5916 MB / 0.5649 GB, free: 6.078 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.009823, allocations: 4 kB / 0.5649 GB, free: 6.074 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.009825, allocations: 0 / 0.5649 GB, free: 6.074 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.009832, allocations: 0 / 0.5649 GB, free: 6.074 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.00086/0.01069, allocations: 0.9742 MB / 0.5658 GB, free: 5.062 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.01073, allocations: 17.92 kB / 0.5658 GB, free: 5.047 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007387/0.01147, allocations: 271.9 kB / 0.5661 GB, free: 4.781 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/0.01192, allocations: 464.8 kB / 0.5666 GB, free: 4.297 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.01194, allocations: 41.36 kB / 0.5666 GB, free: 4.258 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.897e-05/0.01204, allocations: 60.5 kB / 0.5666 GB, free: 4.199 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008652/0.01291, allocations: 0.7942 MB / 0.5674 GB, free: 3.258 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.01293, allocations: 8.109 kB / 0.5674 GB, free: 3.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/0.01296, allocations: 32.11 kB / 0.5675 GB, free: 3.219 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/0.01307, allocations: 64.95 kB / 0.5675 GB, free: 3.156 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003463/0.01341, allocations: 269.5 kB / 0.5678 GB, free: 2.891 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.01564, allocations: 4.426 MB / 0.5721 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.01586, allocations: 155.7 kB / 0.5723 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.01597, allocations: 100.2 kB / 0.5723 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.016, allocations: 8.219 kB / 0.5724 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.01602, allocations: 37.67 kB / 0.5724 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/0.01602, allocations: 4 kB / 0.5724 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=40): time 0.002515/0.01853, allocations: 1.559 MB / 0.5739 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.01856, allocations: 55.41 kB / 0.574 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.01883, allocations: 466.4 kB / 0.5744 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.01885, allocations: 29.7 kB / 0.5744 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.019, allocations: 395.2 kB / 0.5748 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.505e-05/0.01907, allocations: 158.7 kB / 0.575 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.01918, allocations: 111.9 kB / 0.5751 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.0193, allocations: 0.5352 MB / 0.5756 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.01944, allocations: 101.2 kB / 0.5757 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.01967, allocations: 339.3 kB / 0.576 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003927/0.02006, allocations: 492.4 kB / 0.5765 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.02006, allocations: 4 kB / 0.5765 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007659/0.02083, allocations: 0.625 MB / 0.5771 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.02084, allocations: 8 kB / 0.5771 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.02085, allocations: 8.656 kB / 0.5771 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005649/0.02142, allocations: 230.8 kB / 0.5773 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.02167, allocations: 123.8 kB / 0.5775 GB, free: 8.449 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002639/0.02431, allocations: 5.666 MB / 0.583 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.02449, allocations: 31.97 kB / 0.583 GB, free: 2.379 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.02452, allocations: 31.94 kB / 0.5831 GB, free: 2.348 MB / 0.4948 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.0001283/0.02465, allocations: 188.4 kB / 0.5832 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.327e-05/0.02471, allocations: 67.67 kB / 0.5833 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006516/0.02536, allocations: 0.4926 MB / 0.5838 GB, free: 1.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.02536, allocations: 4 kB / 0.5838 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.02537, allocations: 0 / 0.5838 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.02537, allocations: 0 / 0.5838 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.02647, allocations: 1.068 MB / 0.5848 GB, free: 424 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.02647, allocations: 4 kB / 0.5848 GB, free: 420 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.02664, allocations: 67.89 kB / 0.5849 GB, free: 352 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004938/0.02714, allocations: 219 kB / 0.5851 GB, free: 120 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.02716, allocations: 16 kB / 0.5851 GB, free: 104 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0025/0.02966, allocations: 5.663 MB / 0.5906 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.02967, allocations: 7.938 kB / 0.5907 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007501/0.03042, allocations: 0.7381 MB / 0.5914 GB, free: 9.262 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.03052, allocations: 91.61 kB / 0.5915 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.03055, allocations: 20 kB / 0.5915 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.03071, allocations: 27.97 kB / 0.5915 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.635e-05/0.03077, allocations: 39.88 kB / 0.5915 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.03078, allocations: 8 kB / 0.5916 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001602/0.03095, allocations: 295 kB / 0.5918 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.03095, allocations: 0 / 0.5918 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003621/0.03131, allocations: 176 kB / 0.592 GB, free: 8.621 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 9.467e-05/0.0314, allocations: 115.1 kB / 0.5921 GB, free: 8.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007957/0.0322, allocations: 0.921 MB / 0.593 GB, free: 7.523 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.0322, allocations: 4 kB / 0.593 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005246/0.03272, allocations: 0.7394 MB / 0.5937 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/0.0332, allocations: 178.3 kB / 0.5939 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.03453, allocations: 1.133 MB / 0.595 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.03464, allocations: 178.5 kB / 0.5952 GB, free: 5.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001593/0.0348, allocations: 96.69 kB / 0.5953 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.863e-05/0.03486, allocations: 36.5 kB / 0.5953 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of SimCode: time 5.41e-07/0.03486, allocations: 0 / 0.5953 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of Templates: time 0.0106/0.04547, allocations: 9.692 MB / 0.6048 GB, free: 11.57 MB / 0.5261 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.574011370074004]