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.00137/0.00137, allocations: 88.72 kB / 19.44 MB, free: 356 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.00162/0.00162, allocations: 161.7 kB / 22.76 MB, free: 1.68 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 1.487/1.487, allocations: 177.1 MB / 203.1 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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.002661/0.002661, allocations: 233.6 kB / 259.8 MB, free: 12.81 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 1.096/1.096, allocations: 138.5 MB / 454.7 MB, free: 1.484 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.383e-06/1.383e-06, allocations: 0 / 0.5543 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.901e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008549/0.008578, allocations: 5.187 MB / 0.5594 GB, free: 11.64 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005227/0.01381, allocations: 2.587 MB / 0.5619 GB, free: 9.047 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004309/0.01424, allocations: 27.75 kB / 0.562 GB, free: 9.02 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002178/0.01641, allocations: 0.6844 MB / 0.5626 GB, free: 8.332 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.01761, allocations: 441.2 kB / 0.5631 GB, free: 7.898 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.01881, allocations: 398.8 kB / 0.5634 GB, free: 7.508 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001439/0.02025, allocations: 0.9824 MB / 0.5644 GB, free: 6.52 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007172/0.02097, allocations: 382.4 kB / 0.5648 GB, free: 6.145 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009813/0.02195, allocations: 0.5143 MB / 0.5653 GB, free: 5.629 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006875/0.02264, allocations: 363 kB / 0.5656 GB, free: 5.273 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.02276, allocations: 48 kB / 0.5656 GB, free: 5.227 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006866/0.02345, allocations: 343 kB / 0.566 GB, free: 4.891 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003415/0.02379, allocations: 263.2 kB / 0.5662 GB, free: 4.633 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003699/0.02416, allocations: 239.4 kB / 0.5665 GB, free: 4.398 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.02561, allocations: 0.9968 MB / 0.5674 GB, free: 3.398 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.02562, allocations: 0 / 0.5674 GB, free: 3.398 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.02562, allocations: 0 / 0.5674 GB, free: 3.398 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.425e-05/0.02565, allocations: 0 / 0.5674 GB, free: 3.398 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.001923/0.02758, allocations: 0.9169 MB / 0.5683 GB, free: 2.449 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.02761, allocations: 8.75 kB / 0.5683 GB, free: 2.441 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.02924, allocations: 291.9 kB / 0.5686 GB, free: 2.156 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009352/0.03018, allocations: 486.9 kB / 0.5691 GB, free: 1.652 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/0.03022, allocations: 37.36 kB / 0.5691 GB, free: 1.613 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.0304, allocations: 52.56 kB / 0.5692 GB, free: 1.562 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.03199, allocations: 0.979 MB / 0.5701 GB, free: 480 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.175e-05/0.03202, allocations: 8.078 kB / 0.5701 GB, free: 472 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.359e-05/0.03209, allocations: 32.11 kB / 0.5702 GB, free: 440 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002139/0.0323, allocations: 76.92 kB / 0.5702 GB, free: 364 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.03338, allocations: 0.5697 MB / 0.5708 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004855/0.03824, allocations: 3.503 MB / 0.5742 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005505/0.03879, allocations: 279.3 kB / 0.5745 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/0.03915, allocations: 217.2 kB / 0.5747 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.03918, allocations: 12.22 kB / 0.5747 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.03922, allocations: 34.84 kB / 0.5747 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.03923, allocations: 0 / 0.5747 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=40): time 0.006483/0.04571, allocations: 2.385 MB / 0.5771 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.04576, allocations: 59.41 kB / 0.5771 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000639/0.0464, allocations: 425.7 kB / 0.5775 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/0.04645, allocations: 33.7 kB / 0.5775 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/0.04676, allocations: 348.4 kB / 0.5779 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.04693, allocations: 146.7 kB / 0.578 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.04715, allocations: 110.2 kB / 0.5781 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002457/0.0474, allocations: 366.7 kB / 0.5785 GB, free: 7.652 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004708/0.04787, allocations: 241.2 kB / 0.5787 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006601/0.04853, allocations: 411.3 kB / 0.5791 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.04965, allocations: 0.6801 MB / 0.5798 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.04965, allocations: 4 kB / 0.5798 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002049/0.0517, allocations: 0.933 MB / 0.5807 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.05172, allocations: 4 kB / 0.5807 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.05174, allocations: 8.656 kB / 0.5807 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/0.05314, allocations: 294.2 kB / 0.581 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005306/0.05368, allocations: 119.8 kB / 0.5811 GB, free: 4.809 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006581/0.06026, allocations: 4.984 MB / 0.586 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000521/0.06078, allocations: 31.97 kB / 0.586 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.108e-05/0.06085, allocations: 27.94 kB / 0.586 GB, free: 15.46 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.0003755/0.06122, allocations: 221.8 kB / 0.5862 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.0614, allocations: 67.67 kB / 0.5863 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/0.06321, allocations: 0.7655 MB / 0.587 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.06322, allocations: 8 kB / 0.587 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.06322, allocations: 0 / 0.587 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.06323, allocations: 11.92 kB / 0.5871 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002855/0.06609, allocations: 1.338 MB / 0.5884 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.06609, allocations: 0 / 0.5884 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000382/0.06647, allocations: 67.94 kB / 0.5884 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001258/0.06773, allocations: 278.5 kB / 0.5887 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.283e-05/0.06777, allocations: 8 kB / 0.5887 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00623/0.074, allocations: 4.91 MB / 0.5935 GB, free: 7.383 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.07401, allocations: 4.125 kB / 0.5935 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/0.07627, allocations: 1.139 MB / 0.5946 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002639/0.07653, allocations: 87.62 kB / 0.5947 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.191e-05/0.07662, allocations: 15.94 kB / 0.5947 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003646/0.07699, allocations: 27.95 kB / 0.5947 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.07709, allocations: 40 kB / 0.5948 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/0.07713, allocations: 12 kB / 0.5948 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003891/0.07752, allocations: 283.1 kB / 0.5951 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.07752, allocations: 0 / 0.5951 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007727/0.07829, allocations: 172 kB / 0.5952 GB, free: 5.57 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.0001883/0.07848, allocations: 115.1 kB / 0.5953 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00191/0.08039, allocations: 0.9883 MB / 0.5963 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.08039, allocations: 0 / 0.5963 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.08158, allocations: 0.6795 MB / 0.597 GB, free: 3.699 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009784/0.08255, allocations: 182.7 kB / 0.5971 GB, free: 3.531 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.08504, allocations: 1.21 MB / 0.5983 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/0.08551, allocations: 350 kB / 0.5986 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003512/0.08586, allocations: 112.8 kB / 0.5988 GB, free: 1.793 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.08598, allocations: 36.5 kB / 0.5988 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of SimCode: time 8.12e-07/0.08598, allocations: 0 / 0.5988 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of Templates: time 0.1821/0.2681, allocations: 9.151 MB / 0.6077 GB, free: 98.29 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.981971048051491]