Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001225/0.001225, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.001471/0.001471, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9064/0.9064, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.001609/0.001609, allocations: 245.7 kB / 260.5 MB, free: 12.67 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.7084/0.7084, allocations: 138.4 MB / 455.5 MB, free: 1.434 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.5556 GB, free: 260 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.267e-05, allocations: 6.25 kB / 0.5556 GB, free: 252 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.008867/0.00889, allocations: 11.55 MB / 0.5669 GB, free: 4.637 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006179/0.01507, allocations: 3.593 MB / 0.5704 GB, free: 1.035 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/0.01644, allocations: 115.1 kB / 0.5705 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.01788, allocations: 0.4926 MB / 0.571 GB, free: 436 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002024/0.0199, allocations: 1.107 MB / 0.5721 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001963/0.02186, allocations: 1.01 MB / 0.5731 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.005056/0.02692, allocations: 4.876 MB / 0.5778 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004296/0.03122, allocations: 3.135 MB / 0.5809 GB, free: 6.203 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006738/0.03795, allocations: 2.998 MB / 0.5838 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004854/0.04281, allocations: 2.37 MB / 0.5861 GB, free: 0.8242 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.001528/0.04434, allocations: 428 kB / 0.5866 GB, free: 416 kB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.04614, allocations: 0.5114 MB / 0.5871 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.002159/0.0483, allocations: 1.812 MB / 0.5888 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002586/0.05089, allocations: 1.345 MB / 0.5901 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004654/0.05554, allocations: 3.35 MB / 0.5934 GB, free: 9.371 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.05555, allocations: 7.984 kB / 0.5934 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.343e-06/0.05555, allocations: 0 / 0.5934 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001593/0.05571, allocations: 0 / 0.5934 GB, free: 9.363 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.005598/0.06131, allocations: 3.567 MB / 0.5969 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.06135, allocations: 8.75 kB / 0.5969 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00179/0.06314, allocations: 0.8922 MB / 0.5978 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001878/0.06502, allocations: 1.759 MB / 0.5995 GB, free: 3.023 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.06512, allocations: 222.3 kB / 0.5997 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000288/0.06541, allocations: 296.3 kB / 0.6 GB, free: 2.516 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2029/0.2683, allocations: 2.939 MB / 0.6029 GB, free: 84.37 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001199/0.2684, allocations: 23.03 kB / 0.6029 GB, free: 84.37 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002471/0.2687, allocations: 126.4 kB / 0.603 GB, free: 84.37 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000245/0.2689, allocations: 213.9 kB / 0.6032 GB, free: 84.36 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.2706, allocations: 0.8928 MB / 0.6041 GB, free: 84.31 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008407/0.279, allocations: 13.65 MB / 0.6174 GB, free: 76.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000516/0.2795, allocations: 0.51 MB / 0.6179 GB, free: 76.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003811/0.2799, allocations: 386 kB / 0.6183 GB, free: 76.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-05/0.28, allocations: 19.03 kB / 0.6183 GB, free: 76.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.28, allocations: 52.44 kB / 0.6183 GB, free: 76.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=107): time 3.116e-06/0.28, allocations: 1.156 kB / 0.6183 GB, free: 76.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=138): time 0.00701/0.287, allocations: 3.803 MB / 0.6221 GB, free: 76.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.287, allocations: 68.56 kB / 0.6221 GB, free: 76.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009934/0.288, allocations: 0.9801 MB / 0.6231 GB, free: 75.76 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.433e-05/0.2881, allocations: 51.14 kB / 0.6231 GB, free: 75.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006305/0.2887, allocations: 1.397 MB / 0.6245 GB, free: 74.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003069/0.289, allocations: 0.5149 MB / 0.625 GB, free: 74.46 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003122/0.2893, allocations: 301.5 kB / 0.6253 GB, free: 74.33 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.266e-05/0.2894, allocations: 482.4 kB / 0.6257 GB, free: 73.86 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/0.2897, allocations: 228.7 kB / 0.626 GB, free: 73.85 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005572/0.2903, allocations: 0.8202 MB / 0.6268 GB, free: 73.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009666/0.2912, allocations: 1.175 MB / 0.6279 GB, free: 72.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.2913, allocations: 3.312 kB / 0.6279 GB, free: 72.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002651/0.2939, allocations: 1.759 MB / 0.6296 GB, free: 71.92 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.2939, allocations: 9.406 kB / 0.6296 GB, free: 71.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.743e-05/0.294, allocations: 15.81 kB / 0.6297 GB, free: 71.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002102/0.2961, allocations: 0.887 MB / 0.6305 GB, free: 71.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005074/0.2966, allocations: 225.9 kB / 0.6307 GB, free: 71.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006731/0.3033, allocations: 8.737 MB / 0.6393 GB, free: 65.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007558/0.3041, allocations: 48.03 kB / 0.6393 GB, free: 65.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.417e-05/0.3041, allocations: 51.08 kB / 0.6394 GB, free: 65.17 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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 {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000588/0.3047, allocations: 249 kB / 0.6396 GB, free: 64.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.3049, allocations: 200.5 kB / 0.6398 GB, free: 64.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/0.3071, allocations: 1.509 MB / 0.6413 GB, free: 64.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.3071, allocations: 14.52 kB / 0.6413 GB, free: 64.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.072e-05/0.3071, allocations: 12.31 kB / 0.6413 GB, free: 64.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.3071, allocations: 6.844 kB / 0.6413 GB, free: 64.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004326/0.3114, allocations: 3.209 MB / 0.6444 GB, free: 63.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.3114, allocations: 5.281 kB / 0.6444 GB, free: 63.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.3117, allocations: 118.1 kB / 0.6445 GB, free: 63.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001668/0.3134, allocations: 0.8282 MB / 0.6454 GB, free: 62.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.482e-05/0.3134, allocations: 27 kB / 0.6454 GB, free: 62.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005573/0.319, allocations: 8.681 MB / 0.6539 GB, free: 56.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.319, allocations: 6.969 kB / 0.6539 GB, free: 56.41 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.3211, allocations: 1.739 MB / 0.6556 GB, free: 55.64 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004382/0.3215, allocations: 297.7 kB / 0.6558 GB, free: 55.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.3216, allocations: 30.19 kB / 0.6559 GB, free: 55.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000341/0.3219, allocations: 32.5 kB / 0.6559 GB, free: 55.42 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002521/0.3222, allocations: 131.6 kB / 0.656 GB, free: 55.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-05/0.3222, allocations: 28.44 kB / 0.6561 GB, free: 55.39 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003976/0.3226, allocations: 0.5517 MB / 0.6566 GB, free: 55.21 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3226, allocations: 0 / 0.6566 GB, free: 55.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001687/0.3243, allocations: 0.6676 MB / 0.6573 GB, free: 55.15 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (70): * Single equations (assignments): 67 * 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 {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001794/0.3245, allocations: 136.4 kB / 0.6574 GB, free: 55.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002002/0.3265, allocations: 1.95 MB / 0.6593 GB, free: 54.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.3265, allocations: 6.188 kB / 0.6593 GB, free: 54.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.3277, allocations: 1.497 MB / 0.6608 GB, free: 53.02 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.3288, allocations: 481 kB / 0.6612 GB, free: 52.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005717/0.3345, allocations: 4.782 MB / 0.6659 GB, free: 47.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006729/0.3352, allocations: 0.8039 MB / 0.6667 GB, free: 46.93 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006091/0.3358, allocations: 186.5 kB / 0.6668 GB, free: 46.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005603/0.3364, allocations: 449.9 kB / 0.6673 GB, free: 46.31 MB / 0.5105 GB Notification: Performance of SimCode: time 1.843e-06/0.3364, allocations: 0 / 0.6673 GB, free: 46.31 MB / 0.5105 GB Notification: Performance of Templates: time 0.03726/0.3736, allocations: 35.65 MB / 0.7021 GB, free: 11.37 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.2207349091768265]